Skip to content

Commit

Permalink
ECP-8327 Allow saving multiple statedata - Returning JsonResponse for…
Browse files Browse the repository at this point in the history
… the else part
  • Loading branch information
khushboo-singhvi committed Dec 19, 2023
1 parent 870e76b commit 1ab236a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controller/StoreApi/OrderApi/OrderApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,7 @@ public function deleteGiftCardStateData(SalesChannelContext $context, Request $r
$this->paymentStateDataService->deletePaymentStateData($Id);
return new JsonResponse(['token' => $context->getToken()]);
}
else
return new JsonResponse('StateData is not available.');
}
}

0 comments on commit 1ab236a

Please sign in to comment.