This commit is contained in:
merdan 2022-04-07 18:28:37 +05:00
parent dc347664d1
commit c6922056a3
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class Category extends JsonResource
// : json_decode($this->resource->additional, true),
$this->mergeWhen($this->showChildren(), [
'children' => Category::collection($this->children),
'product_limit' => $this->product_limit,
])
];
}