-fixed: lista richieste ingresso ai gruppi

This commit is contained in:
Surya Paolo
2024-04-05 15:49:06 +02:00
parent fef8d0fbc7
commit 3221cf8d25
2 changed files with 2 additions and 1 deletions

View File

@@ -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);

View File

@@ -196,6 +196,7 @@ module.exports = {
'circuits',
'accounts',
'movements',
'mygroups',
],
TABLES_ID_NUMBER: [