From 2089af1cd50eee51cfa984fa11c5d789282812ce Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Fri, 24 Nov 2023 08:54:58 +0100 Subject: [PATCH] chore(core): Assign shippingLine.shippingMethodId No indication that lack of this was causing a bug, but it is a case for "belt and braces" --- packages/core/src/service/services/order.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/service/services/order.service.ts b/packages/core/src/service/services/order.service.ts index 591656377e..715db9857b 100644 --- a/packages/core/src/service/services/order.service.ts +++ b/packages/core/src/service/services/order.service.ts @@ -876,6 +876,7 @@ export class OrderService { let shippingLine: ShippingLine | undefined = order.shippingLines[i]; if (shippingLine) { shippingLine.shippingMethod = shippingMethod; + shippingLine.shippingMethodId = shippingMethod.id; } else { shippingLine = await this.connection.getRepository(ctx, ShippingLine).save( new ShippingLine({