Skip to content

Commit

Permalink
Fix Pint Issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-webkul committed Jan 3, 2025
1 parent 6d907f3 commit f0fb55a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function index(): View|JsonResponse
public function store(): JsonResponse
{
$this->validate(request(), [
'name' => 'required|unique:groups,name|max:50',
'name' => 'required|unique:groups,name|max:50',
'description' => 'required|max:250',
]);

Expand Down Expand Up @@ -74,7 +74,7 @@ public function edit(int $id): JsonResource
public function update(int $id): JsonResponse
{
$this->validate(request(), [
'name' => 'required|max:50|unique:groups,name,'.$id,
'name' => 'required|max:50|unique:groups,name,'.$id,
'description' => 'required|max:250',
]);

Expand Down

0 comments on commit f0fb55a

Please sign in to comment.