Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix me page not loading anything
  • Loading branch information
regalijan committed May 15, 2024
1 parent 1d22fd9 commit b5ffc89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/me.tsx
Expand Up @@ -37,7 +37,7 @@ export async function loader({ context }: { context: RequestContext }) {
context.env.D1.prepare(
`SELECT *
FROM ${itemType}
WHERE user = ?
WHERE json_extract(user, '$.id') = ?
ORDER BY created_at DESC;`,
)
.bind(currentUser.id)
Expand Down

0 comments on commit b5ffc89

Please sign in to comment.