Try fixing again

This commit is contained in:
2025-03-14 01:30:02 +00:00
parent 2245b040c6
commit c48ca6fc24
2 changed files with 10 additions and 21 deletions

View File

@ -2,7 +2,7 @@ import { jsonResponse } from "../../common.js";
export async function onRequestGet(context: RequestContext) {
const { results } = await context.env.D1.prepare(
"SELECT * FROM appeal_bans;",
"SELECT * FROM appeal_bans ORDER BY created_by DESC;",
).all();
return jsonResponse(JSON.stringify(results));