Skip to content

Commit

Permalink
Update SharedSaveController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nic-schi committed Aug 18, 2022
1 parent 507fb44 commit a5aff91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/SharedSaveController.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function update(Request $request, SharedSave $sharedSave): Response
{
$this->authorize("update", $sharedSave);
$validated = $request->validate([
"permission" => ["integer", "min:0", "min:2"],
"permission" => ["integer", "min:0", "max:2"],
"revoked" => ["boolean"],
]);
$sharedSave->fill($validated);
Expand Down

0 comments on commit a5aff91

Please sign in to comment.