Skip to content

Commit

Permalink
fix the request source
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 committed Dec 11, 2024
1 parent 4ec3748 commit 8899063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Admin/DuplicatesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function declineAction(Request $request): JsonResponse
{
try {
\Pimcore::getContainer()->get('cmf.customer_duplicates_index')->declinePotentialDuplicate(
$request->request->getInt('id')
$request->attributes->getInt('id')
);

return new JsonResponse(['success' => true]);
Expand Down

0 comments on commit 8899063

Please sign in to comment.