WIP
This commit is contained in:
1 parent
f477142f11
commit
d728a3af83
1 file changed
+1
@@ -20,6 +20,7 @@ public function toArray(Request $request): array
|
|||||||
'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