fix: enable recycler notifs in email
This commit is contained in:
parent
e7e104d6a0
commit
5ca6fc4cdf
1 changed files with 3 additions and 0 deletions
|
|
@ -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}`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue