@chevre/domain 21.2.0-alpha.24 → 21.2.0-alpha.25

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.
@@ -534,12 +534,14 @@ class MongoRepository {
534
534
  */
535
535
  setTasksExportedById(params) {
536
536
  return __awaiter(this, void 0, void 0, function* () {
537
+ const endDate = new Date();
537
538
  yield this.transactionModel.updateOne({
538
539
  _id: { $eq: params.id },
539
540
  tasksExportationStatus: { $eq: factory.transactionTasksExportationStatus.Exporting }
540
541
  }, {
541
542
  tasksExportationStatus: factory.transactionTasksExportationStatus.Exported,
542
- tasksExportedAt: new Date()
543
+ tasksExportedAt: endDate,
544
+ 'tasksExportAction.endDate': endDate
543
545
  })
544
546
  .exec();
545
547
  });
package/package.json CHANGED
@@ -117,5 +117,5 @@
117
117
  "postversion": "git push origin --tags",
118
118
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
119
119
  },
120
- "version": "21.2.0-alpha.24"
120
+ "version": "21.2.0-alpha.25"
121
121
  }