Skip to content

Commit

Permalink
changle the file upload use the url
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Dec 9, 2024
1 parent 69c372b commit 404bc90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Api/V1/Admin/ProductsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public function CustomConfigurations($id) {

// Save CustomConfigurations
public function saveCustomConfigurations($id, Request $request) {
$product = $this->getRepositoryInstance()->findOrFail($id);
$product = $this->getRepositoryInstance()->findOneBy(["product_id"=>$id]);
if(is_null($product)) {
return "please import products first";
}
Expand Down

0 comments on commit 404bc90

Please sign in to comment.