From 7708be2fe620e91ec14d91fdf13320f6c8fbfcaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Thu, 6 May 2021 00:36:20 +0200 Subject: [PATCH] Update src/Console/ConsoleServiceProvider.php --- src/Console/ConsoleServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/ConsoleServiceProvider.php b/src/Console/ConsoleServiceProvider.php index e043c26b5..2fa029c79 100644 --- a/src/Console/ConsoleServiceProvider.php +++ b/src/Console/ConsoleServiceProvider.php @@ -67,7 +67,7 @@ class ConsoleServiceProvider extends AbstractServiceProvider $scheduled['callback']($event); } - $this->container->make('flarum.locales')->getTranslator()->getCatalogue( + $container->make('flarum.locales')->getTranslator()->getCatalogue( $container->make(SettingsRepositoryInterface::class)->get('default_locale', 'en') ); }