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);
}
}