Group Page corrected

This commit is contained in:
paoloar77
2022-08-09 17:32:06 +02:00
parent fc8e8d8034
commit 680b353535
8 changed files with 96 additions and 15 deletions

View File

@@ -509,6 +509,8 @@ router.post('/getexp', authenticate, (req, res) => {
username: 1,
email: 1,
'reported': 1,
date_report: 1,
username_who_report: 1,
'profile.teleg_id': 1,
'verified_by_aportador': 1,
'profile.username_telegram': 1,
@@ -1339,7 +1341,7 @@ router.get(process.env.LINK_CHECK_UPDATES, authenticate, async (req, res) => {
// msgs = SendMsg.findAllByUserIdAndIdApp(userId, req.user.username, req.user.idapp);
let last_msgs = SendMsg.findLastGroupByUserIdAndIdApp(userId, req.user.username, idapp);
let last_notifs = SendNotif.findLastNotifsByUserIdAndIdApp(req.user.username, idapp, 20);
let last_notifs = SendNotif.findLastNotifsByUserIdAndIdApp(req.user.username, idapp, 40);
let usersList = null;