7525-devToTest #2542
|
@ -17,11 +17,6 @@ module.exports = Self => {
|
|||
|
||||
const {backupPrinterNotificationDelay} = await models.ProductionConfig.findOne();
|
||||
if (backupPrinterNotificationDelay) {
|
||||
console.log('operator delay:',
|
||||
backupPrinterNotificationDelay,
|
||||
Date.vnNow(),
|
||||
new Date(Date.vnNow() - (backupPrinterNotificationDelay * 1000))
|
||||
);
|
||||
const notifications = await models.NotificationQueue.find(
|
||||
{where: {created: {gte: new Date(Date.vnNow() - (backupPrinterNotificationDelay * 1000))},
|
||||
notificationFk: notificationName,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "salix-back",
|
||||
"version": "24.24.2",
|
||||
"version": "24.24.3",
|
||||
"author": "Verdnatura Levante SL",
|
||||
"description": "Salix backend",
|
||||
"license": "GPL-3.0",
|
||||
|
|
Loading…
Reference in New Issue