diff --git a/src/utils/isUserVIP.ts b/src/utils/isUserVIP.ts index 50cc462..0bdd374 100644 --- a/src/utils/isUserVIP.ts +++ b/src/utils/isUserVIP.ts @@ -3,5 +3,5 @@ import { HashedUserID } from "../types/user.model"; export async function isUserVIP(userID: HashedUserID): Promise { return (await db.prepare("get", `SELECT count(*) as "userCount" FROM "vipUsers" WHERE "userID" = ? LIMIT 1`, - [userID], { useReplica: true }))?.userCount > 0; + [userID]))?.userCount > 0; }