refactor: remove unnecessary assignment
This commit is contained in:
parent
6a9643beb8
commit
b74bd2ce14
1 changed files with 0 additions and 3 deletions
|
|
@ -86,8 +86,6 @@ function poll (req, res, next) {
|
|||
|
||||
return Promise.all([pi.pollQueries(deviceTime, req.query, machineVersion, machineModel), triggersPromise, triggersAutomationPromise])
|
||||
.then(([results, triggers, triggersAutomation]) => {
|
||||
const cassettes = results.cassettes
|
||||
|
||||
const reboot = pid && state.reboots?.[operatorId]?.[deviceId] === pid
|
||||
const shutdown = pid && state.shutdowns?.[operatorId]?.[deviceId] === pid
|
||||
const restartServices = pid && state.restartServicesMap?.[operatorId]?.[deviceId] === pid
|
||||
|
|
@ -109,7 +107,6 @@ function poll (req, res, next) {
|
|||
receiptPrintingActive: receipt.active,
|
||||
smsReceiptActive: receipt.sms,
|
||||
enablePaperWalletOnly,
|
||||
cassettes,
|
||||
twoWayMode: cashOutConfig.active,
|
||||
zeroConfLimits,
|
||||
reboot,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue