fix and improve the code

This commit is contained in:
2025-10-25 15:04:18 +03:30
parent 0272aa0c9f
commit 3a18048cee
4 changed files with 1 additions and 30 deletions

View File

@@ -26,7 +26,6 @@ class StoreRequest extends FormRequest
'name' => 'required|string|unique:roles,name',
'name_fa' => 'required|string',
'description' =>'string',
'for_report' => 'in:0,1',
'permissions' => 'array',
'permissions.*' => 'integer|exists:permissions,id'
];