From 6c21c04b02a5b2ee48cd190ce2ce5d3ea83d38bb Mon Sep 17 00:00:00 2001 From: Thomas Spalinger Date: Mon, 22 Apr 2024 22:38:30 +0200 Subject: [PATCH] remove added debug messages --- server/server.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/server/server.js b/server/server.js index 344336dab..28fb44267 100644 --- a/server/server.js +++ b/server/server.js @@ -1043,8 +1043,6 @@ let needSetup = false; try { checkLogin(socket); - log.debug("manage", `Add Tag: ${tag} User ID: ${socket.userID}`); - let bean = R.dispense("tag"); bean.name = tag.name; bean.color = tag.color; @@ -1067,8 +1065,6 @@ let needSetup = false; try { checkLogin(socket); - log.debug("manage", `Edit Tag: ${tag} User ID: ${socket.userID}`); - let bean = await R.findOne("tag", " id = ? ", [ tag.id ]); if (bean == null) { callback({ @@ -1101,8 +1097,6 @@ let needSetup = false; try { checkLogin(socket); - log.debug("manage", `Delete Tag: ${tagID} User ID: ${socket.userID}`); - await R.exec("DELETE FROM tag WHERE id = ? ", [ tagID ]); callback({ @@ -1123,8 +1117,6 @@ let needSetup = false; try { checkLogin(socket); - log.debug("manage", `Add Monitor(${monitorID}) Tag(${tagID}): ${value} User ID: ${socket.userID}`); - await R.exec("INSERT INTO monitor_tag (tag_id, monitor_id, value) VALUES (?, ?, ?)", [ tagID, monitorID, @@ -1149,8 +1141,6 @@ let needSetup = false; try { checkLogin(socket); - log.debug("manage", `Edit Monitor(${monitorID}) Tag(${tagID}): ${value} User ID: ${socket.userID}`); - await R.exec("UPDATE monitor_tag SET value = ? WHERE tag_id = ? AND monitor_id = ?", [ value, tagID, @@ -1175,8 +1165,6 @@ let needSetup = false; try { checkLogin(socket); - log.debug("manage", `Delete Monitor(${monitorID}) Tag(${tagID}): ${value} User ID: ${socket.userID}`); - await R.exec("DELETE FROM monitor_tag WHERE tag_id = ? AND monitor_id = ? AND value = ?", [ tagID, monitorID,