Feat: implement per operator settings cache
Fix: fix linter-found issues Chore: move findOperatorId to own middleware file Chore: delete old routes.js file and rename new-routes.js to routes.js Fix: PR fixes
This commit is contained in:
parent
85235eaa13
commit
558317e9f3
30 changed files with 232 additions and 860 deletions
|
|
@ -20,7 +20,7 @@ function stateChange (deviceId, deviceTime, rec) {
|
|||
id: rec.uuid,
|
||||
deviceId: deviceId,
|
||||
eventType: 'stateChange',
|
||||
note: JSON.stringify({state: rec.state, isIdle: rec.isIdle, txId: rec.txId}),
|
||||
note: JSON.stringify({ state: rec.state, isIdle: rec.isIdle, txId: rec.txId }),
|
||||
deviceTime: deviceTime
|
||||
}
|
||||
return dbm.machineEvent(event)
|
||||
|
|
@ -93,5 +93,6 @@ module.exports = {
|
|||
stateChange,
|
||||
fetchPhoneTx,
|
||||
fetchStatusTx,
|
||||
updateDeviceConfigVersion
|
||||
updateDeviceConfigVersion,
|
||||
httpError
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue