Skip to content

Commit

Permalink
Update endpoints.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexejhero committed Jun 15, 2024
1 parent 3ad8050 commit e6b72a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger/src/modules/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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);
Expand Down

0 comments on commit e6b72a6

Please sign in to comment.