@unchainedshop/platform 4.8.28 → 4.8.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,7 +21,7 @@ export const getOrderSummaryData = async (order, params, context) => {
|
|
|
21
21
|
const deliveryProvider = await modules.delivery.findProvider({
|
|
22
22
|
deliveryProviderId: orderDelivery.deliveryProviderId,
|
|
23
23
|
});
|
|
24
|
-
const deliveryAddress = ch.addressToString(orderDelivery?.context?.deliveryAddress || order.billingAddress);
|
|
24
|
+
const deliveryAddress = ch.addressToString(orderDelivery?.context?.address || orderDelivery?.context?.deliveryAddress || order.billingAddress);
|
|
25
25
|
const billingAddress = ch.addressToString(order.billingAddress);
|
|
26
26
|
const orderPricing = OrderPricingSheet({
|
|
27
27
|
calculation: order.calculation,
|
package/package.json
CHANGED