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
|
|
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()).
|
|
278
|
-
console.log("CODICE
|
|
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)];
|