mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 09:41:35 +10:00
chore: wip
This commit is contained in:
@ -83,11 +83,12 @@ export const getSigningVolume = async ({
|
|||||||
filteredSubscriptions.map(async (subscription) => {
|
filteredSubscriptions.map(async (subscription) => {
|
||||||
let signingVolume = 0;
|
let signingVolume = 0;
|
||||||
|
|
||||||
if (subscription.userId) {
|
if (subscription.userId && !subscription.teamId) {
|
||||||
const personalCount = await prisma.document.count({
|
const personalCount = await prisma.document.count({
|
||||||
where: {
|
where: {
|
||||||
userId: subscription.userId,
|
userId: subscription.userId,
|
||||||
status: DocumentStatus.COMPLETED,
|
status: DocumentStatus.COMPLETED,
|
||||||
|
teamId: null,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user