fix slug deparment

This commit is contained in:
aslan 2024-03-13 12:33:48 +03:00
parent 78c5d7700e
commit e397d4b46a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class DepartmentController extends Controller
$department->description = $validated['description']; $department->description = $validated['description'];
$department->position = $validated['position']; $department->position = $validated['position'];
$department->faculty_id = $validated['faculty_id']; $department->faculty_id = $validated['faculty_id'];
$department->slug = $validated['slug']; $department->slug = $slug;
$department->save(); $department->save();
Log::channel('app') Log::channel('app')