Fix me page not loading anything
This commit is contained in:
parent
1d22fd91b1
commit
b5ffc8928c
@ -37,7 +37,7 @@ export async function loader({ context }: { context: RequestContext }) {
|
|||||||
context.env.D1.prepare(
|
context.env.D1.prepare(
|
||||||
`SELECT *
|
`SELECT *
|
||||||
FROM ${itemType}
|
FROM ${itemType}
|
||||||
WHERE user = ?
|
WHERE json_extract(user, '$.id') = ?
|
||||||
ORDER BY created_at DESC;`,
|
ORDER BY created_at DESC;`,
|
||||||
)
|
)
|
||||||
.bind(currentUser.id)
|
.bind(currentUser.id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user