From 02ecedcd74cab5b579b95bfa07eb2ee51a19308f Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sun, 10 Nov 2024 04:16:50 +0100 Subject: [PATCH] ip.userAgent || '' --- services/sefinekAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sefinekAPI.js b/services/sefinekAPI.js index 0e8b7bd..dab0844 100644 --- a/services/sefinekAPI.js +++ b/services/sefinekAPI.js @@ -35,7 +35,7 @@ module.exports = async () => { rayId: ip.rayId, ip: ip.ip, endpoint: ip.endpoint, - userAgent: ip.userAgent?.replace(/"/g, ''), + userAgent: ip.userAgent || '', action: ip.action, country: ip.country, timestamp: ip.timestamp,