mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-26 10:19:14 -06:00
fix: getPersonCount (#2773)
This commit is contained in:
@@ -339,23 +339,21 @@ export const getMonthlyActiveOrganizationPeopleCount = (organizationId: string):
|
||||
AND: [
|
||||
{ environmentId: { in: environmentIds } },
|
||||
{
|
||||
OR: [
|
||||
{
|
||||
actions: {
|
||||
some: {
|
||||
createdAt: { gte: organization.billing.periodStart },
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
some: {
|
||||
createdAt: { gte: organization.billing.periodStart },
|
||||
},
|
||||
{
|
||||
responses: {
|
||||
some: {
|
||||
createdAt: { gte: organization.billing.periodStart },
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
// TODO: @pandeymangg - figure out how to count people based on responses effectively
|
||||
// {
|
||||
// responses: {
|
||||
// some: {
|
||||
// createdAt: { gte: organization.billing.periodStart },
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user