Skip to content

Commit 5d49ce3

Browse files
authored
fix uncaught exception (#913)
1 parent bd38e77 commit 5d49ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export async function loader({ request }: Route.LoaderArgs) {
7878
const user = userId
7979
? await time(
8080
() =>
81-
prisma.user.findUniqueOrThrow({
81+
prisma.user.findUnique({
8282
select: {
8383
id: true,
8484
name: true,

0 commit comments

Comments
 (0)