Skip to content

Commit

Permalink
[Bug]: Fix decline duplicates (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 authored Jan 9, 2025
1 parent 4ec3748 commit b11c4cb
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 b11c4cb

Please sign in to comment.