@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':
|
|
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
|
|
309
|
+
}, { $set: { paymentMethodId } }, { projection: { _id: 1 } })
|
|
310
310
|
.lean()
|
|
311
311
|
.exec()
|
|
312
312
|
.then((doc) => {
|
package/package.json
CHANGED