From 07a7fb14c9bc129871641436a7350090b7900e18 Mon Sep 17 00:00:00 2001 From: rohit pal Date: Tue, 26 Nov 2024 13:31:05 +0530 Subject: [PATCH] Retrieve all locales from a single channel --- src/Http/Resources/V1/Admin/Settings/ChannelResource.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Http/Resources/V1/Admin/Settings/ChannelResource.php b/src/Http/Resources/V1/Admin/Settings/ChannelResource.php index 02b7c727..25fa2bd6 100755 --- a/src/Http/Resources/V1/Admin/Settings/ChannelResource.php +++ b/src/Http/Resources/V1/Admin/Settings/ChannelResource.php @@ -27,6 +27,7 @@ public function toArray($request) 'logo_url' => $this->logo_url, 'favicon' => $this->favicon, 'favicon_url' => $this->favicon_url, + 'locales' => $this->locales, 'default_locale' => $this->when($this->default_locale_id, new LocaleResource($this->default_locale)), 'base_currency' => $this->when($this->default_currency_id, new CurrencyResource($this->default_currency)), 'root_category_id' => $this->root_category_id,