Skip to content

Commit

Permalink
Dropping temp logs
Browse files Browse the repository at this point in the history
  • Loading branch information
HughParry committed Jan 16, 2025
1 parent 2f75689 commit 1883978
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/provider/src/api/blacklistRequestInspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,18 @@ class BlacklistRequestInspector {

try {
const userIpAddress = getIPAddress(rawIp);
console.log("TEMP IP LOG \n\n", userIpAddress, "\n\n");

const { userId, clientId } = this.extractIdsFromRequest(
requestHeaders,
requestBody,
);
console.log("TEMP USER ID LOG \n\n", userId, "\n\n");

return await this.blacklistInspector.isUserBlacklisted(
clientId,
userIpAddress,
userId,
);
} catch (err) {
console.error("\n\n---\n\nTEMP ERROR RESOLUTION\n\n---\n\n", err, "\n\nJSON STRINGIFIED\n---\n\n", JSON.stringify(err));
this.logger.error("Block Middleware Error:", err);

return true;
Expand Down

0 comments on commit 1883978

Please sign in to comment.