Fixes
This commit is contained in:
1 parent
58e45103bc
commit
3c1fa403b3
1 file changed
+1
-1
@@ -13,7 +13,7 @@ let fileOffset = 0;
|
|||||||
|
|
||||||
const reportToAbuseIPDb = async (logData, categories, comment) => {
|
const reportToAbuseIPDb = async (logData, categories, comment) => {
|
||||||
try {
|
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 },
|
headers: { 'Key': ABUSEIPDB_API_KEY },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user