From fe0a03a4a90184c8146b04e90ee92b8afac6062e Mon Sep 17 00:00:00 2001 From: Regalijan Date: Mon, 13 May 2024 14:59:40 -0400 Subject: [PATCH] Fix game appeals --- functions/api/game-appeals/submit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/api/game-appeals/submit.ts b/functions/api/game-appeals/submit.ts index 1b54ae7..b6466f1 100644 --- a/functions/api/game-appeals/submit.ts +++ b/functions/api/game-appeals/submit.ts @@ -48,9 +48,9 @@ export async function onRequestPost(context: RequestContext) { }${Date.now()}`; await context.env.D1.prepare( - "INSERT INTO game_appeals (created_at, id, reason_for_unban, roblox_id, roblox_username) VALUES (?, ?, ?, ?, ?);", + "INSERT INTO game_appeals (created_at, id, reason_for_unban, roblox_id, roblox_username, what_happened) VALUES (?, ?, ?, ?, ?, ?);", ) - .bind(Date.now(), appealId, reasonForUnban, id, username) + .bind(Date.now(), appealId, reasonForUnban, id, username, whatHappened) .run(); await fetch(context.env.REPORTS_WEBHOOK, {