It'll work this time I swear
This commit is contained in:
parent
d265436555
commit
0a68358aac
@ -37,7 +37,7 @@ export async function onRequestGet(context: RequestContext): Promise<any> {
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user