From 5ca6fc4cdf62533ba9003a1b444e63eb9f60ca1a Mon Sep 17 00:00:00 2001 From: siiky Date: Mon, 28 Oct 2024 17:35:30 +0000 Subject: [PATCH] fix: enable recycler notifs in email --- lib/notifier/email.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/notifier/email.js b/lib/notifier/email.js index 5ad4b774..c53df248 100644 --- a/lib/notifier/email.js +++ b/lib/notifier/email.js @@ -10,6 +10,7 @@ const { HIGH_CRYPTO_BALANCE, CASH_BOX_FULL, LOW_CASH_OUT, + LOW_RECYCLER_STACKER, SECURITY } = require('./codes') @@ -80,6 +81,8 @@ function emailAlert (alert) { return `Cash box full on ${alert.machineName} [${alert.notes} banknotes]` case LOW_CASH_OUT: return `Cassette for ${alert.denomination} ${alert.fiatCode} low [${alert.notes} banknotes]` + case LOW_RECYCLER_STACKER: + return `Recycler for ${alert.denomination} ${alert.fiatCode} low [${alert.notes} banknotes]` case SECURITY: return `Cashbox removed on ${alert.machineName}` }