- Gruppi si chiamano ora "Organizzazioni".
- Categorie dei Gruppi aggiornate. - Email ora compare sul profilo se non hai telegram e anche sugli annunci.
This commit is contained in:
@@ -44,7 +44,8 @@ router.post('/load', authenticate, async (req, res) => {
|
||||
SendNotif.setNotifAsRead(idapp, usernameOrig, idnotif);
|
||||
|
||||
const whatshow = MyGroup.getWhatToShow(idapp, req.user.username);
|
||||
let data = await MyGroup.findOne({ idapp, groupname }, whatshow).lean();
|
||||
// let data = await MyGroup.findOne({ idapp, groupname }, whatshow).lean();
|
||||
let data = await MyGroup.getInfoGroupByGroupname(idapp, groupname);
|
||||
|
||||
/*
|
||||
if (data.mycircuits) {
|
||||
@@ -54,7 +55,8 @@ router.post('/load', authenticate, async (req, res) => {
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
if (data.mycircuits) {
|
||||
for (let i = 0; i < data.mycircuits.length; i++) {
|
||||
const mycirc = await Circuit.findOne({ idapp, name: data.mycircuits[i].circuitname }).lean();
|
||||
|
||||
Reference in New Issue
Block a user