Skip to content

Commit 889ca7c

Browse files
committed
ACP2E-4031: [QUANS] Confirm GQL order placement exception handling behaviour reversion
1 parent 463541f commit 889ca7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/QuoteGraphQl/Model/Resolver/PlaceOrder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function resolve(Field $field, $context, ResolveInfo $info, ?array $value
5353
$maskedCartId = $args['input']['cart_id'];
5454
$userId = (int)$context->getUserId();
5555
$storeId = (int)$context->getExtensionAttributes()->getStore()->getId();
56+
$order = null;
5657
try {
5758
$cart = $this->getCartForCheckout->execute($maskedCartId, $userId, $storeId);
5859
$orderId = $this->placeOrder->execute($cart, $maskedCartId, $userId);

0 commit comments

Comments
 (0)