This commit is contained in:
Sefinek committed 2024-12-25 01:04:02 +01:00
1 parent 58e45103bc
commit 3c1fa403b3
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ let fileOffset = 0;
const reportToAbuseIPDb = async (logData, categories, comment) => {
try {
const { data } = await axios.post('https://api.abuseipdb.com/api/v2/report', new URLSearchParams({ ip: logData.ip, categories, comment }), {
const { data } = await axios.post('https://api.abuseipdb.com/api/v2/report', new URLSearchParams({ ip: logData.srcIp, categories, comment }), {
headers: { 'Key': ABUSEIPDB_API_KEY },
});