fix: fitler only unsigned documents
This commit is contained in:
committed by
Mythie
parent
c947c7d761
commit
fd4602faf8
@@ -73,6 +73,9 @@ export const completeDocumentWithToken = async ({
|
|||||||
const numberOfRecipients = await prisma.recipient.count({
|
const numberOfRecipients = await prisma.recipient.count({
|
||||||
where: {
|
where: {
|
||||||
documentId: document.id,
|
documentId: document.id,
|
||||||
|
signingStatus: {
|
||||||
|
not: SigningStatus.SIGNED,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user