Skip to content

Commit d4d30dc

Browse files
authored
ENGCOM-4417: Cannot return null for non-nullable field SelectedShippingMethod.amount #417
2 parents e3b46cf + ad80e19 commit d4d30dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/QuoteGraphQl/Model/Cart/ExtractDataFromAddress.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function execute(QuoteAddress $address): array
5555
'code' => $address->getShippingMethod(),
5656
'label' => $address->getShippingDescription(),
5757
'free_shipping' => $address->getFreeShipping(),
58+
'amount' => $address->getShippingAmount()
5859
],
5960
'items_weight' => $address->getWeight(),
6061
'customer_notes' => $address->getCustomerNotes()

0 commit comments

Comments
 (0)