From e93d1b35929c58c0d82d6fa6644ed4ed0167436d Mon Sep 17 00:00:00 2001 From: Steve <34465153+xxl4@users.noreply.github.com> Date: Tue, 24 Dec 2024 18:43:31 +0800 Subject: [PATCH] fix update --- src/Http/Resources/Api/V1/Admin/Settings/ChannelResource.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Http/Resources/Api/V1/Admin/Settings/ChannelResource.php b/src/Http/Resources/Api/V1/Admin/Settings/ChannelResource.php index ff63697..98c5698 100644 --- a/src/Http/Resources/Api/V1/Admin/Settings/ChannelResource.php +++ b/src/Http/Resources/Api/V1/Admin/Settings/ChannelResource.php @@ -33,6 +33,8 @@ public function toArray($request) 'root_category' => $this->when($this->root_category_id, new CategoryResource($this->root_category)), 'created_at' => $this->created_at, 'updated_at' => $this->updated_at, + 'locales' => LocaleResource::collection($this->locales), + 'currencies' => CurrencyResource::collection($this->currencies), ]; } }