Add to the Circuit
Remove to the Circuit Revoke request Users Admins
This commit is contained in:
@@ -332,6 +332,16 @@ module.exports = {
|
||||
} else {
|
||||
invia = false;
|
||||
}
|
||||
} else if (params.typemsg === shared_consts.TypeMsg.SEND_TO_CIRCUIT) {
|
||||
if (params.circuitnameDest) {
|
||||
addquery = {
|
||||
'profile.mycircuits': {
|
||||
$elemMatch: {circuitname: {$eq: params.circuitnameDest}},
|
||||
},
|
||||
};
|
||||
} else {
|
||||
invia = false;
|
||||
}
|
||||
}
|
||||
|
||||
let numrec = 0;
|
||||
|
||||
Reference in New Issue
Block a user