hotfix(medusa): missing shipping_address update

This commit is contained in:
Sebastian Rindom
2020-10-20 15:29:39 +02:00
parent 6436b3f458
commit c5c19d2988

View File

@@ -1146,6 +1146,7 @@ class CartService extends BaseService {
)
}
shippingAddress.country_code = countryCode
update.shipping_address = shippingAddress
} else {
// If the country code of a shipping address is set we need to clear it
if (!_.isEmpty(shippingAddress) && shippingAddress.country_code) {