WIP
This commit is contained in:
@@ -20,6 +20,7 @@ class ChannelResource extends JsonResource
|
|||||||
'sort_order' => $this->whenHas('sort_order'),
|
'sort_order' => $this->whenHas('sort_order'),
|
||||||
'name' => $this->whenHas('name'),
|
'name' => $this->whenHas('name'),
|
||||||
'slug' => $this->whenHas('slug'),
|
'slug' => $this->whenHas('slug'),
|
||||||
|
'shipping_price' => $this->whenHas('shipping_price'),
|
||||||
'description' => $this->whenHas('description'),
|
'description' => $this->whenHas('description'),
|
||||||
'media' => ChannelMediaResource::collection($this->whenLoaded('media')),
|
'media' => ChannelMediaResource::collection($this->whenLoaded('media')),
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user