-fixed: lista richieste ingresso ai gruppi
This commit is contained in:
@@ -309,7 +309,6 @@ MyGroupSchema.statics.getInfoGroupByGroupname = async function (idapp, groupname
|
||||
|
||||
const query = [
|
||||
{ $match: myfind },
|
||||
{ $unwind: '$mycircuits' },
|
||||
{
|
||||
$lookup: {
|
||||
from: 'circuits',
|
||||
@@ -337,6 +336,7 @@ MyGroupSchema.statics.getInfoGroupByGroupname = async function (idapp, groupname
|
||||
|
||||
];
|
||||
|
||||
|
||||
try {
|
||||
const ris = await MyGroup.aggregate(query);
|
||||
|
||||
|
||||
@@ -196,6 +196,7 @@ module.exports = {
|
||||
'circuits',
|
||||
'accounts',
|
||||
'movements',
|
||||
'mygroups',
|
||||
],
|
||||
|
||||
TABLES_ID_NUMBER: [
|
||||
|
||||
Reference in New Issue
Block a user