Skip to content

Commit

Permalink
[API][Admin] Fix problem with getting non-scalar value from parameter…
Browse files Browse the repository at this point in the history
… bag
  • Loading branch information
GSadee committed Nov 20, 2023
1 parent ac455b8 commit 78b61be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __invoke(Request $request): ImageInterface
$request->attributes->get('code', ''),
$request->files->get('file'),
$request->request->get('type'),
['productVariants' => $request->request->get('productVariants')],
['productVariants' => $request->request->all('productVariants')],
);
}
}

0 comments on commit 78b61be

Please sign in to comment.