This commit is contained in:
merdan 2022-05-20 15:34:02 +05:00
parent 23ab142509
commit c403548558
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class IntegrationController extends Controller
}
if(! $product = $this->productRepository->findOneByField('sku',$data['product_group_id'])){
return response()->json(['success'=> false,'message' => 'product not found'],400);
return response()->json(['success'=> false,'message' => 'product not found'],404);
}
if($this->productRepository->updateProduct($product,$data)){