3
0
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:
snipe
2024-07-13 15:15:18 +01:00
parent b68fcf1de5
commit eed253bd2f

View File

@ -45,7 +45,7 @@ class CheckLocale
}
\App::setLocale(Helper::mapLegacyLocale($language));
app()->setLocale(Helper::mapLegacyLocale($language));
return $next($request);
}
}