Skip to content

Commit c07e1b1

Browse files
committed
MC-37484: Cart query error when trying to switch store view
1 parent 4960211 commit c07e1b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
6969
$cart = $this->getCartForUser->execute($maskedCartId, $context->getUserId(), $storeId);
7070
$this->checkCartCheckoutAllowance->execute($cart);
7171
$this->setPaymentMethodOnCart->execute($cart, $paymentData);
72+
$cart = $this->getCartForUser->execute($maskedCartId, $context->getUserId(), $storeId);
7273

7374
return [
7475
'cart' => [

0 commit comments

Comments
 (0)