diff --git a/functions/api/mod-queue/[type]/list.ts b/functions/api/mod-queue/[type]/list.ts index f020a51..daa395a 100644 --- a/functions/api/mod-queue/[type]/list.ts +++ b/functions/api/mod-queue/[type]/list.ts @@ -34,7 +34,7 @@ export async function onRequestGet(context: RequestContext): Promise { `SELECT * FROM appeals WHERE created_at < ? - AND open ${showClosed ? "IS NOT" : "IS"} NULL + AND approved ${showClosed ? "IS NOT" : "IS"} NULL ORDER BY created_at DESC LIMIT 25;`, ) .bind(before, !Number(showClosed))