emilsoftware-utilities 1.3.44 → 1.3.46

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.
@@ -270,12 +270,12 @@ var AccessiModel = function () {
270
270
  switch (_a.label) {
271
271
  case 0:
272
272
  _a.trys.push([0, 3, , 4]);
273
- queryUtenti = " INSERT INTO UTENTI (USRNAME, STAREG, KEYREG, FLGGDPR) VALUES (?,?,?,?) RETURNING CODUTE as codice_utente";
273
+ queryUtenti = " INSERT INTO UTENTI (USRNAME, STAREG, KEYREG, FLGGDPR) VALUES (?,?,?,?) RETURNING CODUTE";
274
274
  paramsUtenti = [request.username, request.statoRegistrazione, request.keyRegistrazione, false];
275
275
  return [4 /*yield*/, Orm_1.Orm.query(this.accessiOptions.databaseOptions, queryUtenti, paramsUtenti)];
276
276
  case 1:
277
- codiceUtente = (_a.sent()).CODICE_UTENTE;
278
- console.log("CODICE UTENTE: ", codiceUtente);
277
+ codiceUtente = (_a.sent()).CODUTE;
278
+ console.log("CODICE UTENTEXX: ", codiceUtente);
279
279
  queryUtentiConfig = " INSERT INTO UTENTI_CONFIG (CODUTE,COGNOME,NOME,CODLINGUA,FLGSUPER) VALUES (?,?,?,?,?) ";
280
280
  paramsUtentiConfig = [codiceUtente, request.cognome, request.nome, request.codiceLingua, request.flagSuper];
281
281
  return [4 /*yield*/, Orm_1.Orm.execute(this.accessiOptions.databaseOptions, queryUtentiConfig, paramsUtentiConfig)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emilsoftware-utilities",
3
- "version": "1.3.44",
3
+ "version": "1.3.46",
4
4
  "description": "Utilities for EmilSoftware",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",