Actually fix game appeals this time
This commit is contained in:
parent
b46e54d0c3
commit
90f7a93d46
@ -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()
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user