Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix game appeals
  • Loading branch information
regalijan committed May 13, 2024
1 parent 1c1b5c7 commit fe0a03a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/api/game-appeals/submit.ts
Expand Up @@ -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, {
Expand Down

0 comments on commit fe0a03a

Please sign in to comment.