@chevre/domain 25.2.0-alpha.19 → 25.2.0-alpha.20

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.
@@ -290,7 +290,7 @@ class OrderInTransactionRepo extends acceptedOfferInReserve_1.AcceptedOfferInRes
290
290
  _id: { $eq: params.id },
291
291
  status: { $eq: factory_1.factory.transactionStatusType.InProgress }
292
292
  }, {
293
- $set: { 'object.paymentMethods': params.paymentMethod }
293
+ $set: { 'object.paymentMethods': { paymentMethodId } }
294
294
  }, {
295
295
  projection: { _id: 1 }
296
296
  })
@@ -306,7 +306,7 @@ class OrderInTransactionRepo extends acceptedOfferInReserve_1.AcceptedOfferInRes
306
306
  identifier: { $eq: params.id },
307
307
  paymentMethodId: { $exists: false },
308
308
  typeOf: { $eq: factory_1.factory.transactionType.PlaceOrder }
309
- }, { $set: { paymentMethodId: params.paymentMethod } }, { projection: { _id: 1 } })
309
+ }, { $set: { paymentMethodId } }, { projection: { _id: 1 } })
310
310
  .lean()
311
311
  .exec()
312
312
  .then((doc) => {
package/package.json CHANGED
@@ -91,5 +91,5 @@
91
91
  "postversion": "git push origin --tags",
92
92
  "prepublishOnly": "npm run clean && npm run build"
93
93
  },
94
- "version": "25.2.0-alpha.19"
94
+ "version": "25.2.0-alpha.20"
95
95
  }