Skip to content

Commit

Permalink
don't require user on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Cefali committed Jan 11, 2024
1 parent d3bb470 commit d2aff29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/app.summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function loader({ request }: DataFunctionArgs) {
if (!userId) {
return redirect('/github/install')
}
const user = await prisma.user.findUniqueOrThrow({
const user = await prisma.user.findUnique({
where: { id: userId },
})
return { user }
Expand Down

0 comments on commit d2aff29

Please sign in to comment.