fix logging level to Faculty
This commit is contained in:
parent
5cf8061fd5
commit
59d2e38110
|
@ -94,7 +94,7 @@ class FacultyController extends Controller
|
||||||
{
|
{
|
||||||
if ($faculty->departments()->exists()) {
|
if ($faculty->departments()->exists()) {
|
||||||
Log::channel('app')
|
Log::channel('app')
|
||||||
->critical(
|
->error(
|
||||||
'NOT DELETE факультет {faculty} - user {user}',
|
'NOT DELETE факультет {faculty} - user {user}',
|
||||||
[
|
[
|
||||||
'user' => Auth::user()->name,
|
'user' => Auth::user()->name,
|
||||||
|
|
Loading…
Reference in New Issue