Skip to content

Commit

Permalink
remove useless validaitons
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Sep 28, 2021
1 parent 7b4ac9e commit b7bfd55
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ public function rules(): array
{
return [
'roles_ids' => 'array|required',
'roles_ids.*' => 'exists:' . config('permission.table_names.roles') . ',id',
'user_id' => 'required|exists:users,id',
'user_id' => 'required',
];
}

Expand Down

0 comments on commit b7bfd55

Please sign in to comment.