This commit is contained in:
Mekan1206
2025-12-23 19:45:03 +05:00
parent f477142f11
commit d728a3af83

View File

@@ -20,6 +20,7 @@ class ChannelResource extends JsonResource
'sort_order' => $this->whenHas('sort_order'),
'name' => $this->whenHas('name'),
'slug' => $this->whenHas('slug'),
'shipping_price' => $this->whenHas('shipping_price'),
'description' => $this->whenHas('description'),
'media' => ChannelMediaResource::collection($this->whenLoaded('media')),
];