fix: build errors

This commit is contained in:
Mythie
2023-10-16 17:38:41 +11:00
parent 652af26754
commit 6ba4ff1c17
4 changed files with 5 additions and 19 deletions

View File

@ -9,9 +9,7 @@ export const getUsersWithSubscriptionsCount = async () => {
return await prisma.user.count({
where: {
Subscription: {
some: {
status: SubscriptionStatus.ACTIVE,
},
status: SubscriptionStatus.ACTIVE,
},
},
});