From 7684a7ba9c9481bef4c475d2d756f9598777fd64 Mon Sep 17 00:00:00 2001 From: Rafael Taranto Date: Tue, 27 Aug 2024 18:43:24 +0100 Subject: [PATCH] fix: dangling variable --- lib/pairing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pairing.js b/lib/pairing.js index 04a1d818..72e88f4c 100644 --- a/lib/pairing.js +++ b/lib/pairing.js @@ -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]) }) ) }