Actually fix game appeals this time

This commit is contained in:
Regalijan 2024-05-13 15:21:09 -04:00
parent b46e54d0c3
commit 90f7a93d46
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -5,7 +5,7 @@ export default async function (
user: number, user: number,
): Promise<{ can_appeal?: boolean; error?: string; reason?: string }> { ): Promise<{ can_appeal?: boolean; error?: string; reason?: string }> {
if ( if (
await context.env.D1.prepare("SELECT * FROM game_appeals WHERE user = ?;") await context.env.D1.prepare("SELECT * FROM game_appeals WHERE roblox_id = ?;")
.bind(user) .bind(user)
.first() .first()
) )