From 26a3af164abf9a48e7a261749e9e2a0b31b838d4 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Thu, 10 Oct 2024 10:50:41 +0200 Subject: [PATCH] uniqueLogs.length --- scripts/sefinekAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sefinekAPI.js b/scripts/sefinekAPI.js index c79812a..d8f9a3c 100644 --- a/scripts/sefinekAPI.js +++ b/scripts/sefinekAPI.js @@ -41,7 +41,7 @@ module.exports = async () => { headers: { 'Authorization': process.env.SEFINEK_API_SECRET } }); - log('log', `Successfully sent ${res.data.count} logs to Sefinek API. Status: ${res.status}`); + log('log', `Successfully sent ${uniqueLogs.length} logs to Sefinek API. Status: ${res.status}`); uniqueLogs.forEach(ip => updateSefinekAPIInCSV(ip.rayId, true)); } catch (err) {