We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad205e commit 44d541bCopy full SHA for 44d541b
src/utils/isUserVIP.ts
@@ -3,5 +3,5 @@ import { HashedUserID } from "../types/user.model";
3
4
export async function isUserVIP(userID: HashedUserID): Promise<boolean> {
5
return (await db.prepare("get", `SELECT count(*) as "userCount" FROM "vipUsers" WHERE "userID" = ? LIMIT 1`,
6
- [userID], { useReplica: true }))?.userCount > 0;
+ [userID]))?.userCount > 0;
7
}
0 commit comments