Skip to content

Commit

Permalink
[ECP-9206] Remove context parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmita committed Jun 17, 2024
1 parent d7f3f58 commit 048be31
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Controller/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,7 @@ public function rescheduleNotification(string $notificationId): JsonResponse
public function isAdyenOrder(string $orderId): JsonResponse
{
try {
$transaction = $this->orderTransactionRepository->getFirstAdyenOrderTransaction(
$orderId,
Context::createDefaultContext()
);
$transaction = $this->orderTransactionRepository->getFirstAdyenOrderTransaction($orderId);

if (!is_null($transaction)) {
return new JsonResponse(['status' => true]);
Expand Down

0 comments on commit 048be31

Please sign in to comment.