fix: completed count incorrect

This commit is contained in:
Ephraim Atta-Duncan
2023-09-27 15:04:58 +00:00
parent cdb71c3a62
commit eddfd9a720

View File

@ -40,7 +40,7 @@ export const getStats = async ({ user }: GetStatsInput) => {
}, },
where: { where: {
status: { status: {
not: ExtendedDocumentStatus.DRAFT, in: [ExtendedDocumentStatus.DRAFT, ExtendedDocumentStatus.PENDING],
}, },
Recipient: { Recipient: {
some: { some: {