Skip to content

Commit

Permalink
filter out helicone users on add user
Browse files Browse the repository at this point in the history
  • Loading branch information
chitalian committed Sep 18, 2024
1 parent 8600a4d commit 12e6c1c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class OrganizationController extends Controller {
@Request() request: JawnAuthenticatedRequest
): Promise<Result<null, string>> {
const organizationManager = new OrganizationManager(request.authParams);
const memberCount = await organizationManager.getMemberCount();
const memberCount = await organizationManager.getMemberCount(true);
if (memberCount.error || !memberCount.data) {
return err(memberCount.error ?? "Error getting member count");
}
Expand Down Expand Up @@ -281,7 +281,7 @@ export class OrganizationController extends Controller {
const stripeManager = new StripeManager(request.authParams);
const organizationManager = new OrganizationManager(request.authParams);

const memberCount = await organizationManager.getMemberCount();
const memberCount = await organizationManager.getMemberCount(true);
if (memberCount.error || !memberCount.data) {
return err(memberCount.error ?? "Error getting member count");
}
Expand Down

0 comments on commit 12e6c1c

Please sign in to comment.