Merge branch 'fix/machine_unpair_dev' of github.com:ubavic/lamassu-server into fix/machine_unpair_dev
This commit is contained in:
commit
4e82ff700f
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ function unpair (deviceId) {
|
||||||
const q2 = t.none(`DELETE FROM machine_pings WHERE device_id=$1`, [deviceId])
|
const q2 = t.none(`DELETE FROM machine_pings WHERE device_id=$1`, [deviceId])
|
||||||
const q3 = t.none(`DELETE FROM machine_network_heartbeat WHERE device_id=$1`, [deviceId])
|
const q3 = t.none(`DELETE FROM machine_network_heartbeat WHERE device_id=$1`, [deviceId])
|
||||||
const q4 = t.none(`DELETE FROM machine_network_performance WHERE device_id=$1`, [deviceId])
|
const q4 = t.none(`DELETE FROM machine_network_performance WHERE device_id=$1`, [deviceId])
|
||||||
return t.batch([q1, q2, q3, q4])
|
return t.batch([q1, q2, q3, q4])
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue