Fixed User set locale, but not working translation

This commit is contained in:
Cüneyt Şentürk
2021-06-15 14:46:18 +03:00
parent 33877c90d2
commit d63c09c17f
7 changed files with 10 additions and 8 deletions

View File

@ -24,7 +24,7 @@ class EnableModule extends Job
{
$this->alias = $alias;
$this->company_id = $company_id;
$this->locale = $locale ?: app()->getLocale();
$this->locale = $locale ?: company($company_id)->locale;
}
/**