diff --git a/functions/api/mod-queue/list.ts b/functions/api/mod-queue/list.ts index a264f3d..d25d963 100644 --- a/functions/api/mod-queue/list.ts +++ b/functions/api/mod-queue/list.ts @@ -59,7 +59,7 @@ export async function onRequestGet(context: RequestContext) { WHERE created_at < ? ${entryType === "gma" ? "" : "AND open = ?"} ORDER BY created_at DESC LIMIT 25;`, ) - .bind(before, Number(!showClosed)) + .bind(before, entryType === "gma" ? undefined : Number(!showClosed)) .all(); if (results)