This commit is contained in:
Kerim 2023-06-27 04:58:33 +05:00
parent e8a40deb44
commit 88ad9c6e67
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class Vendors extends V1Controller
public function vendor($seller_id){
$vendor = $this->vendorRepository->select('marketplace_sellers.id','url','logo','banner','shop_title','ship_time','ship_price','slogan')
->where('id',$seller_id)
->with(['categories:seller_id,type,categories'])
->with(['categories:seller_id,categories'])
->first();
if($vendor->categories && $mainCats = $vendor->categories()->first()){