notifications ready fx11

This commit is contained in:
merdan 2022-11-30 12:13:15 +05:00
parent ca4986dec3
commit f4e2bf9b78
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class Category extends JsonResource
'slug' => $this->slug,
'display_mode' => $this->display_mode,
'image_url' => $this->image_url,
'vendors' => CategoryVendor::collection($this->vendors),
'vendors' => $this->vendors?CategoryVendor::collection($this->vendors):null,
'category_icon_path' => $this->category_icon_path
? Storage::url($this->category_icon_path)
: null,