updated to explicit metadata assignment for createShipment calls
This commit is contained in:
@@ -485,7 +485,7 @@ class ClaimService extends BaseService {
|
|||||||
const shipment = await this.fulfillmentService_
|
const shipment = await this.fulfillmentService_
|
||||||
.withTransaction(manager)
|
.withTransaction(manager)
|
||||||
.createShipment(fulfillmentId, trackingLinks, {
|
.createShipment(fulfillmentId, trackingLinks, {
|
||||||
metadata,
|
metadata: metadata,
|
||||||
no_notification: evaluatedNoNotification,
|
no_notification: evaluatedNoNotification,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -603,7 +603,7 @@ class OrderService extends BaseService {
|
|||||||
const shipmentRes = await this.fulfillmentService_
|
const shipmentRes = await this.fulfillmentService_
|
||||||
.withTransaction(manager)
|
.withTransaction(manager)
|
||||||
.createShipment(fulfillmentId, trackingLinks, {
|
.createShipment(fulfillmentId, trackingLinks, {
|
||||||
metadata,
|
metadata: metadata,
|
||||||
no_notification: evaluatedNoNotification,
|
no_notification: evaluatedNoNotification,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user