emilsoftware-utilities 1.3.129 → 1.3.130

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.
@@ -113,11 +113,11 @@ let AllegatiService = class AllegatiService {
113
113
  uploadSingleFileRequest.riferimentoDocumento
114
114
  ];
115
115
  const result = yield Orm_1.Orm.query(this.allegatiOptions.databaseOptions, insertQuery, params);
116
- if (!result || !result[0] || !result[0].IDXALL) {
116
+ if (!result || !result.IDXALL) {
117
117
  throw new common_1.InternalServerErrorException('Errore durante il salvataggio del file');
118
118
  }
119
119
  return {
120
- id: result[0].IDXALL,
120
+ id: result.IDXALL,
121
121
  filename: file.originalname,
122
122
  };
123
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emilsoftware-utilities",
3
- "version": "1.3.129",
3
+ "version": "1.3.130",
4
4
  "description": "Utilities for EmilSoftware",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",