hotfix(medusa-plugin-brightpearl): use new metadata signature (#316)

* hotfix(medusa-plugin-brightpearl): use new metadata signature

* fix: update signature
This commit is contained in:
Sebastian Rindom
2021-07-15 11:18:44 +02:00
committed by GitHub
parent 2585e958de
commit ef7e52b74b

View File

@@ -1168,13 +1168,13 @@ class BrightpearlService extends BaseService {
return this.claimService_
.withTransaction(m)
.createFulfillment(partId, {
goods_out_note: id,
metadata: { goods_out_note: id },
})
} else {
return this.swapService_
.withTransaction(m)
.createFulfillment(partId, {
goods_out_note: id,
metadata: { goods_out_note: id },
})
}
}
@@ -1182,7 +1182,7 @@ class BrightpearlService extends BaseService {
return this.orderService_
.withTransaction(m)
.createFulfillment(order.externalRef, lines, {
goods_out_note: id,
metadata: { goods_out_note: id },
})
}, "SERIALIZABLE")
}