From bf31ace25ddc0e9311033404872e772b731e80d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Thu, 20 May 2021 15:47:30 +0100 Subject: [PATCH] fix: add response even if cashbox reset is set to manual --- lib/routes/cashboxRoutes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/routes/cashboxRoutes.js b/lib/routes/cashboxRoutes.js index 709dc121..e5f06f11 100644 --- a/lib/routes/cashboxRoutes.js +++ b/lib/routes/cashboxRoutes.js @@ -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)