piccole modifiche...

This commit is contained in:
Surya Paolo
2025-01-12 21:29:05 +01:00
parent c631ca9d6a
commit 45be5038b9
9 changed files with 15 additions and 34 deletions

View File

@@ -409,7 +409,7 @@ module.exports.createFirstUserAdmin = async function () {
if (numusers === 0) {
// Non esistono utenti, quindi creo quello di Admin
const utenteadmin = { idapp: '13', username: telegrambot.ADMIN_USER_SERVER };
const utenteadmin = { idapp: '13', username: shared_consts.ADMIN_USER_SERVER };
const newuser = new User(utenteadmin);
newuser._id = new ObjectId();