From 1b17644d1ab65c8bbeced3efdd2173623063396d Mon Sep 17 00:00:00 2001 From: adrianzofcin Date: Thu, 13 Apr 2023 13:27:20 +0200 Subject: [PATCH] Fixed function name --- src/LaravelApiResponseServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LaravelApiResponseServiceProvider.php b/src/LaravelApiResponseServiceProvider.php index ffc99d4..7ccda6b 100644 --- a/src/LaravelApiResponseServiceProvider.php +++ b/src/LaravelApiResponseServiceProvider.php @@ -21,8 +21,8 @@ public function boot():void /** * @return void */ - protected function registerTranslations(): void + protected function publishTranslations(): void { - $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'wame-auth'); + $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'wame-api-response'); } }