Skip to content

Commit

Permalink
Fix unpaid items are counted (#1595)
Browse files Browse the repository at this point in the history
* Fix unpaid items are counted

* Also fix for ncomments

* Never count unpaid items
  • Loading branch information
ekzyis authored Nov 16, 2024
1 parent 9c55f1e commit 79ada2a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions api/resolvers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,8 @@ export default {
createdAt: {
gte,
lte
}
},
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},
Expand All @@ -963,7 +964,8 @@ export default {
createdAt: {
gte,
lte
}
},
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},
Expand All @@ -980,7 +982,8 @@ export default {
createdAt: {
gte,
lte
}
},
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},
Expand Down

0 comments on commit 79ada2a

Please sign in to comment.