Skip to content

Commit

Permalink
fix: Correct behavior of persons-on-events rollout flag (#21556)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkaemming authored Apr 16, 2024
1 parent 74ce620 commit 462eaff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/models/team/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ def _person_on_events_person_id_no_override_properties_on_events(self) -> bool:
return posthoganalytics.feature_enabled(
"persons-on-events-person-id-no-override-properties-on-events",
str(self.uuid),
groups={"team": str(self.id)},
group_properties={"team": {"id": str(self.id), "created_at": self.created_at, "uuid": self.uuid}},
groups={"project": str(self.id)},
group_properties={"project": {"id": str(self.id), "created_at": self.created_at, "uuid": self.uuid}},
only_evaluate_locally=True,
send_feature_flag_events=False,
)
Expand Down

0 comments on commit 462eaff

Please sign in to comment.