emilsoftware-utilities 1.3.32 → 1.3.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.
@@ -179,13 +179,13 @@ var AccessiModel = function () {
179
179
  return [4 /*yield*/, Orm_1.Orm.query(this.accessiOptions.databaseOptions, utentiPwdQuery, utentiPwdParams)];
180
180
  case 2:
181
181
  utentiPwdResult = (_a.sent());
182
- utentiPwdResult = utentiPwdParams.map(Utilities_1.RestUtilities.convertKeysToCamelCase);
182
+ utentiPwdResult = utentiPwdResult.map(Utilities_1.RestUtilities.convertKeysToCamelCase);
183
183
  if (!utentiPwdResult || utentiPwdResult.length == 0) {
184
184
  throw new Error("Nome utente o password non corretti. ");
185
185
  }
186
186
  utentePwd = utentiPwdResult[0];
187
187
  if (password != utentePwd.password) {
188
- throw new Error("Nome utente o password errata! ");
188
+ throw new Error("Nome utente o password errata! " + JSON.stringify(utentePwd));
189
189
  }
190
190
  abilitazioniQuery = "";
191
191
  abilitazioniParams = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emilsoftware-utilities",
3
- "version": "1.3.32",
3
+ "version": "1.3.33",
4
4
  "description": "Utilities for EmilSoftware",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",