docta-package 1.2.56 → 1.2.57

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.
@@ -7,7 +7,8 @@ const user_1 = require("./user");
7
7
  // Base DTO for everyone
8
8
  class SessionOutputDto {
9
9
  constructor(session) {
10
- this.id = session.id.toString();
10
+ var _a, _b;
11
+ this.id = (_b = ((_a = session.id) !== null && _a !== void 0 ? _a : session._id)) === null || _b === void 0 ? void 0 : _b.toString();
11
12
  this.period = new period_1.PeriodOutputDto(session.period);
12
13
  this.status = session.status;
13
14
  this.isDeleted = session.isDeleted;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docta-package",
3
- "version": "1.2.56",
3
+ "version": "1.2.57",
4
4
  "description": "This package will contail all the required files to run the docta micro-service app",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",