Add marketplace seller to search repository

This commit is contained in:
Amanmyrat 2023-09-21 12:47:47 +05:00
parent 2cfabfc735
commit a7dd03173d
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class Products extends ProductController
public function searchProducts() public function searchProducts()
{ {
// return $this->productRepository->searchProductByAttribute(request('key')); // return $this->productRepository->searchProductByAttribute(request('key'));
return ProductResource::collection($this->productRepository->searchProductByAttributeDagdan(request('key'))); return ProductResource::collection($this->productRepository->searchProductByAttributeDagdan(request('key'),16));
} }
public function discountedProducts() public function discountedProducts()