From 82c47ff02cf8a0aa03474f9c699fea64bea89d43 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Tue, 11 Feb 2025 18:42:43 +0100 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 25b172a..da3cb18 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,7 @@ const reportToAbuseIPDb = async (logData, categories, comment) => { comment, }), { headers: { 'Key': ABUSEIPDB_API_KEY } }); - log(0, `Reported ${logData.srcIp} [${logData.dpt}/${logData.proto}]; ID: ${logData.id}; Categories ${categories}; Abuse: ${res.data.abuseConfidenceScore}%`); + log(0, `Reported ${logData.srcIp} [${logData.dpt}/${logData.proto}]; ID: ${logData.id}; Categories: ${categories}; Abuse: ${res.data.abuseConfidenceScore}%`); return true; } catch (err) { log(2, `Failed to report ${logData.srcIp} [${logData.dpt}/${logData.proto}]; ID: ${logData.id}; ${err.message}\n${JSON.stringify(err.response.data?.errors || err.response.data)}`);