fix: add response even if cashbox reset is set to manual

This commit is contained in:
José Oliveira 2021-05-20 15:47:30 +01:00 committed by Josh Harvey
parent ad29650c36
commit bf31ace25d

View file

@ -17,6 +17,7 @@ function notifyCashboxRemoval (req, res, next) {
.then(() => setMachine({ deviceId: req.deviceId, action: 'emptyCashInBills' }))
.then(() => res.status(200).send({ status: 'OK' }))
}
return res.status(200).send({ status: 'OK' })
})
})
.catch(next)