piccole modifiche...
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user