From e6b72a653af40fd8f6fc65eb83cae26c516ff9af Mon Sep 17 00:00:00 2001 From: Alexejhero <32238504+Alexejhero@users.noreply.github.com> Date: Sat, 15 Jun 2024 20:19:19 +0200 Subject: [PATCH] Update endpoints.ts --- logger/src/modules/endpoints.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logger/src/modules/endpoints.ts b/logger/src/modules/endpoints.ts index 7d81a3f..5b168a0 100644 --- a/logger/src/modules/endpoints.ts +++ b/logger/src/modules/endpoints.ts @@ -25,7 +25,7 @@ app.post("/log", async (req, res) => { return; } - if (userId != logMessage.userIdInsecure) { + /*if (userId != logMessage.userIdInsecure) { const warningMessage: LogMessage = { transactionToken: logMessage.transactionToken, userIdInsecure: userId, @@ -41,7 +41,7 @@ app.post("/log", async (req, res) => { logToDatabase(warningMessage, true).then(); res.status(403).send("Invalid user id."); return; - } + }*/ } await logToDatabase(logMessage, isBackendRequest);