Skip to content

Commit

Permalink
Made request param optional
Browse files Browse the repository at this point in the history
  • Loading branch information
wladif committed Mar 29, 2023
1 parent 9e088ff commit 2af4969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/RuleSets/Photo/AddPhotoRuleSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static function rules(): array
{
return [
RequestAttribute::ALBUM_ID_ATTRIBUTE => ['present', new AlbumIDRule(true)],
RequestAttribute::FILE_LAST_MODIFIED_TIME => 'required|numeric',
RequestAttribute::FILE_LAST_MODIFIED_TIME => 'numeric',
RequestAttribute::FILE_ATTRIBUTE => 'required|file',
];
}
Expand Down

0 comments on commit 2af4969

Please sign in to comment.