fix: add response even if cashbox reset is set to manual
This commit is contained in:
parent
ad29650c36
commit
bf31ace25d
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue