- fix link bot for Test Envinroment

- If invite not exist, error message
- Username (where name and surname don't exists).
This commit is contained in:
paoloar77
2022-02-09 19:48:39 +01:00
parent 08b99bf3f8
commit 57a396c374
24 changed files with 106 additions and 65 deletions

View File

@@ -52,7 +52,7 @@ module.exports = {
}
addtext = 'Eliminato il Record "' + nomerecord + '" dalla tabella ' + tablename + '\n' +
'Eseguito da ' + req.user.name + ' ' + req.user.surname + ' \n';
'Eseguito da ' + req.user.username + ' \n';
await telegrambot.sendMsgTelegramToTheManagers(rec.idapp, addtext);
}