diff --git a/apps/web/pages/api/documents/[id]/sign.ts b/apps/web/pages/api/documents/[id]/sign.ts index c2b4e02d6..f4316cf2a 100644 --- a/apps/web/pages/api/documents/[id]/sign.ts +++ b/apps/web/pages/api/documents/[id]/sign.ts @@ -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({ where: { documentId: document.id,