diff --git a/src/Http/Controllers/Api/V1/Admin/Settings/ChannelController.php b/src/Http/Controllers/Api/V1/Admin/Settings/ChannelController.php index 8fa1db3..caa2736 100644 --- a/src/Http/Controllers/Api/V1/Admin/Settings/ChannelController.php +++ b/src/Http/Controllers/Api/V1/Admin/Settings/ChannelController.php @@ -179,7 +179,7 @@ private function setSEOContent(array $data, string $locale = null): array 'meta_keywords' => $editedData['seo_keywords'], ]; - $editedData['home_seo'] = json_encode($editedData['home_seo']); + //$editedData['home_seo'] = json_encode($editedData['home_seo']); unset($editedData['seo_title'], $editedData['seo_description'], $editedData['seo_keywords']); diff --git a/src/Http/Resources/Api/V1/Shop/Core/ChannelResource.php b/src/Http/Resources/Api/V1/Shop/Core/ChannelResource.php index d683c1b..8b67f57 100644 --- a/src/Http/Resources/Api/V1/Shop/Core/ChannelResource.php +++ b/src/Http/Resources/Api/V1/Shop/Core/ChannelResource.php @@ -13,6 +13,7 @@ public function toArray($request) 'base_currency_id' => $this->base_currency_id, 'base_currency_code' => core()->getBaseCurrencyCode(), 'currencySymbol' => core()->currencySymbol(core()->getBaseCurrencyCode()), + 'home_seo' => $this->home_seo, ]); }