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