Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix wrong column name
  • Loading branch information
regalijan committed May 12, 2024
1 parent e00b7e8 commit 8f4947c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/mod-queue/[type]/list.ts
Expand Up @@ -34,7 +34,7 @@ export async function onRequestGet(context: RequestContext): Promise<any> {
`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))
Expand Down

0 comments on commit 8f4947c

Please sign in to comment.