fix: remove unnecessary query
This commit is contained in:
parent
d62db527de
commit
fbf8933680
2 changed files with 2 additions and 6 deletions
|
|
@ -85,14 +85,9 @@ function fetchStatusTx (txId, status) {
|
|||
})
|
||||
}
|
||||
|
||||
function updateDeviceConfigVersion (versionId) {
|
||||
return db.none('update devices set user_config_id=$1', [versionId])
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
stateChange,
|
||||
fetchPhoneTx,
|
||||
fetchStatusTx,
|
||||
updateDeviceConfigVersion,
|
||||
httpError
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue