- Cataloghi

- Import ed Export Pagine
- ObjectID sostituita con ObjectId
This commit is contained in:
Surya Paolo
2024-12-17 17:55:47 +01:00
parent 14b3e18986
commit 300bab2125
91 changed files with 404 additions and 272 deletions

View File

@@ -79,7 +79,7 @@ var mongoose = require('mongoose').set('debug', false);
mongoose.set('debug', false);
const { CfgServer } = require('./models/cfgserver');
const { ObjectID } = require('mongodb');
const { ObjectId } = require('mongodb');
const populate = require('./populate/populate');
const { Circuit } = require('./models/circuit');
@@ -453,7 +453,7 @@ async function mystart() {
function populateDBadmin() {
const cfgserv = [
{
_id: new ObjectID(),
_id: new ObjectId(),
idapp: '9',
chiave: 'vers',
userId: 'ALL',