- fix: La partecipazione agli eventi, non viene salvata correttamente e non visualizzava.
This commit is contained in:
@@ -1300,14 +1300,22 @@ sendNotifSchema.statics.RemoveOldNotif = async function (idapp, numgg) {
|
||||
{
|
||||
idapp,
|
||||
date_created: { $lt: limitDate },
|
||||
typedir: { $ne: shared_consts.TypeNotifs.TYPEDIR_CIRCUITS },
|
||||
// typedir: { $ne: shared_consts.TypeNotifs.TYPEDIR_CIRCUITS },
|
||||
$or: [
|
||||
{ typeid: { $ne: shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ } },
|
||||
{ status: { $ne: 0 } }
|
||||
]
|
||||
}
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
sendNotifSchema.statics.RemoveOldNotif90 = async function (idapp) {
|
||||
return this.RemoveOldNotif90(idapp, 90);
|
||||
return this.RemoveOldNotif(idapp, 90);
|
||||
}
|
||||
|
||||
sendNotifSchema.statics.RemoveOldNotif30 = async function (idapp) {
|
||||
return this.RemoveOldNotif(idapp, 30);
|
||||
}
|
||||
|
||||
sendNotifSchema.statics.updatePendingTransactions = async function (recnotif) {
|
||||
|
||||
Reference in New Issue
Block a user