mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
qoc
This commit is contained in:
@ -20,7 +20,7 @@ export async function getUserFromToken(
|
||||
return null;
|
||||
}
|
||||
|
||||
let user = await prisma.user.findFirst({
|
||||
let user = await prisma.user.findFirstOrThrow({
|
||||
where: { email: tokenEmail },
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user