From df279cf48a63c975ece131a1effa06c577e055d0 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Mon, 20 Feb 2023 18:57:19 -0500 Subject: [PATCH] Adjust ip logging fix threshold --- src/routes/shadowBanUser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/shadowBanUser.ts b/src/routes/shadowBanUser.ts index e0e9112..d54b125 100644 --- a/src/routes/shadowBanUser.ts +++ b/src/routes/shadowBanUser.ts @@ -45,7 +45,7 @@ export async function shadowBanUser(req: Request, res: Response): Promise ? AND "userID" = ?`, [ipLoggingFixedTime, userID])) as { timeSubmitted: number }[]; const ips = (await Promise.all(timeSubmitted.map((s) => { return privateDB.prepare("all", `SELECT "hashedIP" FROM "sponsorTimes" WHERE "timeSubmitted" = ?`, [s.timeSubmitted]) as Promise<{ hashedIP: HashedIP }[]>; @@ -194,4 +194,4 @@ async function unHideSubmissionsByIP(categories: string[], hashedIP: HashedIP, t })); return users; -} \ No newline at end of file +}