category indexes
This commit is contained in:
parent
d655e41f12
commit
c40417d1dc
|
|
@ -18,7 +18,7 @@ class Suggestion extends JsonResource
|
|||
'id' => $this->product_id ?? $this->id,
|
||||
'type' => $this->suggestion_type,
|
||||
'name' => $this->name,
|
||||
$this->mergeWhen($this->suggestion_type =='category',['description' => $this->description])
|
||||
// $this->mergeWhen($this->suggestion_type =='category',['description' => $this->description])
|
||||
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue