From 771ffe723d6b149da59f54b092375572f172ffa4 Mon Sep 17 00:00:00 2001 From: Lluis Date: Tue, 2 Apr 2024 18:05:52 +0200 Subject: [PATCH] remove console.logs --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index 2bdfd7b..166831e 100644 --- a/index.js +++ b/index.js @@ -84,7 +84,6 @@ async function updateClients() { const updatedIds = [...new Set([...ipsForClient])]; - console.log(`Client ${client.name} has IPs: ${originalClientIps} and updated IPs: ${updatedIds}`) if (!arraysEqual(originalClientIps, updatedIds)) { client.ids = [...updatedIds, ...new Set([...client.ids.filter(id => !isIp(id))])]; const updateObj = { @@ -92,7 +91,6 @@ async function updateClients() { data: client }; - console.log(`Updating client ${client.name} with new IDs: ${updatedIds}`); return adguardFetch(API_ENDPOINTS.CLIENTS_UPDATE, 'POST', updateObj); } });