From 0a68358aac77f448c445e266711a8acce020496d Mon Sep 17 00:00:00 2001 From: Regalijan Date: Sun, 12 May 2024 01:50:21 -0400 Subject: [PATCH] It'll work this time I swear --- functions/api/mod-queue/[type]/list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);