Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Oops
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 70a45ac commit 5ca71a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/mod-queue/list.ts
Expand Up @@ -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)
Expand Down

0 comments on commit 5ca71a4

Please sign in to comment.