fix slug deparment
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Successful in 1m47s Details
Tests & Lint & Deploy to Railway / deploy (push) Successful in 31s Details

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')