Compare commits

...

2 Commits

Author SHA1 Message Date
14a3e54c22 Fix game appeal second submission check
All checks were successful
Test, Build, Deploy / Test, Build, and Deploy (push) Successful in 56s
Test, Build, Deploy / Create Sentry Release (push) Successful in 5s
2026-03-31 15:14:06 -04:00
b53f6ef20e Needs to be object 2026-03-31 15:13:03 -04:00
2 changed files with 5 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ export default async function (
}; };
const userLogs = await context.env.D1.prepare( const userLogs = await context.env.D1.prepare(
"SELECT executed_at FROM game_mod_logs WHERE target = ? ORDER BY executed_at DESC;", "SELECT action, executed_at FROM game_mod_logs WHERE target = ? ORDER BY executed_at DESC;",
) )
.bind(user) .bind(user)
.all(); .all();

View File

@@ -55,7 +55,10 @@ export async function setBanList(
etag?: string, etag?: string,
) { ) {
const setRequest = await fetch(DATASTORE_URL, { const setRequest = await fetch(DATASTORE_URL, {
body: JSON.stringify(etag, value), body: JSON.stringify({
etag,
value,
}),
headers: { headers: {
"content-type": "application/json", "content-type": "application/json",
"x-api-key": context.env.ROBLOX_OPENCLOUD_KEY, "x-api-key": context.env.ROBLOX_OPENCLOUD_KEY,