Skip to content

Commit

Permalink
fix groups call
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Jan 2, 2025
1 parent f8f1254 commit f950df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/api/insight.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def capture_legacy_api_call(request: request.Request, team: Team):
"was_impersonated": is_impersonated_session(request),
}

posthoganalytics.capture(distinct_id, event, properties, groups=(groups(team.organization, team.pk)))
posthoganalytics.capture(distinct_id, event, properties, groups=(groups(team.organization, team)))


class QuerySchemaParser(JSONParser):
Expand Down

0 comments on commit f950df6

Please sign in to comment.