@chevre/domain 21.2.0-alpha.43 → 21.2.0-alpha.44
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.
|
@@ -509,7 +509,7 @@ class MongoRepository {
|
|
|
509
509
|
yield this.transactionModel.updateMany({
|
|
510
510
|
_id: { $in: expiringTransactions.map((t) => t.id) },
|
|
511
511
|
status: { $eq: factory.transactionStatusType.InProgress },
|
|
512
|
-
expires: { $lt: params.expires }
|
|
512
|
+
expires: { $lt: params.expires.$lt }
|
|
513
513
|
}, {
|
|
514
514
|
status: factory.transactionStatusType.Expired,
|
|
515
515
|
endDate: new Date()
|
|
@@ -613,7 +613,7 @@ class MongoRepository {
|
|
|
613
613
|
yield this.transactionModel.updateMany({
|
|
614
614
|
_id: { $in: expiringTransactions.map((t) => t.id) },
|
|
615
615
|
status: { $eq: factory.transactionStatusType.InProgress },
|
|
616
|
-
expires: { $lt: params.expires }
|
|
616
|
+
expires: { $lt: params.expires.$lt }
|
|
617
617
|
}, {
|
|
618
618
|
status: factory.transactionStatusType.Expired,
|
|
619
619
|
endDate: new Date()
|
package/package.json
CHANGED