- Invio RIS migliorata grafica e aggiunto tastierino numerico.

This commit is contained in:
Surya Paolo
2024-09-30 22:08:33 +02:00
parent 0a9e012de0
commit 492f599cd9

View File

@@ -86,7 +86,7 @@ router.post('/load', authenticate, async (req, res) => {
let arrrecnotifcoins = null;
const arrrecnotif = await SendNotif.findAllNotifByUsernameIdAndIdApp(req.user.username, lastdr, idapp, shared_consts.LIMIT_NOTIF_FOR_USER, shared_consts.QualiNotifs.OTHERS);
if (isAdminById(req.user.id)) {
if (User.isAdminById(req.user.id)) {
arrrecnotifcoins = await SendNotif.findAllNotifCoinsAllIdAndIdApp(idapp);
} else {
arrrecnotifcoins = await SendNotif.findAllNotifByUsernameIdAndIdApp(req.user.username, lastdr, idapp, shared_consts.LIMIT_NOTIFCOINS_FOR_USER, shared_consts.QualiNotifs.CIRCUITS);