fix: dangling variable

This commit is contained in:
Rafael Taranto 2024-08-27 18:43:24 +01:00
parent 5975baa294
commit 7684a7ba9c

View file

@ -32,7 +32,7 @@ function unpair (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 q4 = t.none(`DELETE FROM machine_network_performance WHERE device_id=$1`, [deviceId])
return t.batch([q1, q2, q3, q4, q5])
return t.batch([q1, q2, q3, q4])
})
)
}