From eb4bd7843de5180a5dcb335f697ec4d5eab6c7af Mon Sep 17 00:00:00 2001 From: "Negar Tarh Giti (Privet Joint Stock Company)" <2020amiramir@gmail.com> Date: Fri, 5 Jan 2024 22:03:11 +0330 Subject: [PATCH] Update APIResponseServiceProvider.php --- src/APIResponseServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/APIResponseServiceProvider.php b/src/APIResponseServiceProvider.php index dceb048..978ffeb 100644 --- a/src/APIResponseServiceProvider.php +++ b/src/APIResponseServiceProvider.php @@ -20,7 +20,7 @@ public function boot(): void require_once __DIR__ . '/Helpers/functions.php'; - $this->loadTranslationsFrom(__DIR__ . '/Resources/languages', 'apiwrapper'); + $this->loadJsonTranslationsFrom(__DIR__ . '/Resources/languages'); $this->publishes([ __DIR__ . '/Config/apiwrapper.php' => config_path('apiwrapper.php'),