diff --git a/functions/api/mod-queue/[type]/list.ts b/functions/api/mod-queue/[type]/list.ts index a38ecf8..4adac80 100644 --- a/functions/api/mod-queue/[type]/list.ts +++ b/functions/api/mod-queue/[type]/list.ts @@ -37,7 +37,7 @@ export async function onRequestGet(context: RequestContext): Promise { AND approved ${showClosed ? "IS NOT" : "IS"} NULL ORDER BY created_at DESC LIMIT 25;`, ) - .bind(before, !Number(showClosed)) + .bind(before) .all(); rows.results = rows.results.map((r) => { r.user = JSON.parse(r.user);