mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 23:55:46 +00:00
Use app helped instead of facade
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@ -45,7 +45,7 @@ class CheckLocale
|
||||
|
||||
}
|
||||
|
||||
\App::setLocale(Helper::mapLegacyLocale($language));
|
||||
app()->setLocale(Helper::mapLegacyLocale($language));
|
||||
return $next($request);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user