mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
qoc
This commit is contained in:
@ -25,7 +25,7 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) {
|
||||
return;
|
||||
}
|
||||
|
||||
let document = await prisma.document.findFirst({
|
||||
let document = await prisma.document.findFirstOrThrow({
|
||||
where: {
|
||||
id: recipient.documentId,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user