- Aggiornato node.js alla versione 22.18.1
- Aggiornato tutti i pacchetti del server all'ultima versione. - passato mongoose da versione 5 a versione 6
This commit is contained in:
@@ -272,7 +272,7 @@ module.exports.executeQueryTable = async function (idapp, params, userreq) {
|
||||
|
||||
if (myarr.length === 0) {
|
||||
/* {
|
||||
"_id" : ObjectId("620a71e194438ecd1acfdbca"),
|
||||
"_id" : new ObjectId("620a71e194438ecd1acfdbca"),
|
||||
"idapp" : "14",
|
||||
"chiave" : "vers",
|
||||
"userId" : "ALL",
|
||||
@@ -429,6 +429,7 @@ module.exports.createFirstUserAdmin = async function () {
|
||||
|
||||
};
|
||||
|
||||
module.exports.createIndexes((err) => {
|
||||
if (err) throw err;
|
||||
});
|
||||
module.exports.createIndexes()
|
||||
.then(() => { })
|
||||
.catch((err) => { throw err; });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user