Update index.js
This commit is contained in:
1 parent
3ed1fc7a20
commit
ea15f76b1a
1 file changed
+1
-1
@@ -66,7 +66,7 @@ const reportIp = async ({ srcIp, dpt = 'N/A', proto = 'N/A', timestamp }, catego
|
|||||||
comment,
|
comment,
|
||||||
});
|
});
|
||||||
|
|
||||||
logger.log(`Reported ${srcIp} [${dpt}/${proto}]; Categories: ${categories}; Abuse: ${res.data.threat_score}%;}`, 1);
|
logger.log(`Reported ${srcIp} [${dpt}/${proto}]; Categories: ${categories}; Abuse: ${res.data.threat_score}%`, 1);
|
||||||
return true;
|
return true;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
const status = err.response?.status ?? 'unknown';
|
const status = err.response?.status ?? 'unknown';
|
||||||
|
|||||||
Reference in new issue
Block a user