categor fields for api changed
This commit is contained in:
parent
e8b9849d1e
commit
dca0ec0edf
|
|
@ -19,10 +19,11 @@ class Category extends JsonResource
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
// 'code' => $this->code,
|
// 'code' => $this->code,
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
'slug' => $this->slug,
|
// 'slug' => $this->slug,
|
||||||
// 'display_mode' => $this->display_mode,
|
// 'display_mode' => $this->display_mode,
|
||||||
'description' => $this->description,
|
// 'description' => $this->description,
|
||||||
// 'status' => $this->status,
|
// 'status' => $this->status,
|
||||||
|
'menu' => $this->visible_in_menu,
|
||||||
'image_url' => $this->image_url,
|
'image_url' => $this->image_url,
|
||||||
'category_icon_path' => $this->category_icon_path
|
'category_icon_path' => $this->category_icon_path
|
||||||
? Storage::url($this->category_icon_path)
|
? Storage::url($this->category_icon_path)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue