Group Page corrected
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user