gemcap-be-common 1.4.32 → 1.4.33

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.
package/db/new-summary.js CHANGED
@@ -342,7 +342,7 @@ class NewSummaryExcel {
342
342
  if (!lastBBC) {
343
343
  return null;
344
344
  }
345
- const availability = await this.availabilityService.getAllSummaries(lastBBC._id, null);
345
+ const availability = await this.availabilityService.getAllSummaries(lastBBC._id.toString(), null);
346
346
  // INVENTORY
347
347
  const inventoryRows = availability.inventory.reduce((acc, inventory) => {
348
348
  if (inventory.inventoryName === 'TOTAL') {
package/db/new-summary.ts CHANGED
@@ -420,7 +420,7 @@ export class NewSummaryExcel {
420
420
  if (!lastBBC) {
421
421
  return null;
422
422
  }
423
- const availability = await this.availabilityService.getAllSummaries(lastBBC._id, null);
423
+ const availability = await this.availabilityService.getAllSummaries(lastBBC._id.toString(), null);
424
424
 
425
425
  // INVENTORY
426
426
  const inventoryRows = availability.inventory.reduce((acc, inventory) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.32",
3
+ "version": "1.4.33",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {