fix update unique name
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Successful in 10m56s Details
Tests & Lint & Deploy to Railway / deploy (push) Successful in 21s Details

This commit is contained in:
aslan 2024-02-14 14:08:28 +03:00
parent d9b8f8be33
commit 295d7a5711
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class UpdateFacultyRequest extends FormRequest
'required', 'required',
'string', 'string',
'max:255', 'max:255',
"unique:educational_institutions,name,{$this->faculty->id}", "unique:faculties,name,{$this->faculty->id}",
], ],
]; ];
} }