Skip to content

Commit

Permalink
タグは最大40個までに制限する
Browse files Browse the repository at this point in the history
refs #709
  • Loading branch information
shibafu528 committed Aug 9, 2021
1 parent ce2270b commit 01f200a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Requests/Api/V1/CheckinStoreRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function rules()
'checked_in_at' => 'nullable|date|after_or_equal:2000-01-01 00:00:00|before_or_equal:2099-12-31 23:59:59',
'note' => 'nullable|string|max:500',
'link' => 'nullable|url|max:2000',
'tags' => 'nullable|array',
'tags' => 'nullable|array|max:40',
'tags.*' => ['string', 'not_regex:/[\s\r\n]/u', 'max:255'],
'is_private' => 'nullable|boolean',
'is_too_sensitive' => 'nullable|boolean',
Expand Down

0 comments on commit 01f200a

Please sign in to comment.