Skip to content

Commit 729c68a

Browse files
committed
findFirst
1 parent 4cd9744 commit 729c68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/routes/api.v2.whoami.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
4747
},
4848
});
4949

50-
const project = await prisma.project.findUnique({
50+
const project = await prisma.project.findFirst({
5151
select: {
5252
externalRef: true,
5353
name: true,

0 commit comments

Comments
 (0)