This commit is contained in:
Timur Ercan
2023-03-19 11:48:32 +01:00
parent 7fc228a562
commit 3961402c70

View File

@ -70,6 +70,8 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) {
}, },
}); });
// Don't check for inserted, because currently no "sign again" scenarios exist and
// this is probably the expected behaviour in unclean states.
const nonSignatureFields = await prisma.field.findMany({ const nonSignatureFields = await prisma.field.findMany({
where: { where: {
documentId: document.id, documentId: document.id,