fix(operator): neq error
This commit is contained in:
parent
349914743c
commit
bbf027ede5
|
@ -20,7 +20,7 @@ module.exports = Self => {
|
||||||
const notifications = await models.NotificationQueue.find(
|
const notifications = await models.NotificationQueue.find(
|
||||||
{where: {created: {gte: new Date(Date.vnNow() - (backupPrinterNotificationDelay * 1000))},
|
{where: {created: {gte: new Date(Date.vnNow() - (backupPrinterNotificationDelay * 1000))},
|
||||||
notificationFk: notificationName,
|
notificationFk: notificationName,
|
||||||
status: 'sent'
|
status: {neq: 'error'}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue