diff --git a/app/Http/Controllers/SharedSaveController.php b/app/Http/Controllers/SharedSaveController.php index e50ebe8..7d9a686 100644 --- a/app/Http/Controllers/SharedSaveController.php +++ b/app/Http/Controllers/SharedSaveController.php @@ -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);