Fixes
This commit is contained in:
parent
58e45103bc
commit
3c1fa403b3
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -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 },
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue