New formatting
This commit is contained in:
@ -54,7 +54,7 @@ export async function onRequestGet(context: RequestContext) {
|
||||
To avoid any potential injection attacks we enforce a list of specific values and permissions for table names
|
||||
*/
|
||||
await context.env.D1.prepare(
|
||||
`SELECT id FROM ${table} WHERE created_at < ? AND open = ? ORDER BY created_at DESC LIMIT 25;`
|
||||
`SELECT id FROM ${table} WHERE created_at < ? AND open = ? ORDER BY created_at DESC LIMIT 25;`,
|
||||
)
|
||||
.bind(before, Number(!showClosed))
|
||||
.all();
|
||||
|
Reference in New Issue
Block a user