- transazioni pendenti errore fixed (Elena)

This commit is contained in:
Surya Paolo
2023-06-15 23:30:48 +02:00
parent aff50b03d4
commit 95a812f002
3 changed files with 8 additions and 2 deletions

View File

@@ -1049,6 +1049,12 @@ sendNotifSchema.statics.sendToTheDestinations = async function (myrecnotifpass,
send = true;
}
}
} else if (myrecnotifpass.typedir === shared_consts.TypeNotifs.TYPEDIR_CIRCUITS) {
if (shared_consts.TABLES_CIRCUITS_NOTIFICATION.includes(myrecnotifpass.tablerec)) {
if (usernotifprofile && tools.isBitActive(usernotifprofile.value, shared_consts.CircuitsNotif.STATUS_NEW)) {
send = true;
}
}
}
if (send) {