Skip to content

Commit

Permalink
Update flag local eval filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Aug 2, 2024
1 parent bbaf8ea commit cd49a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/api/feature_flag.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def my_flags(self, request: request.Request, **kwargs):
)
def local_evaluation(self, request: request.Request, **kwargs):
feature_flags: QuerySet[FeatureFlag] = FeatureFlag.objects.db_manager(DATABASE_FOR_LOCAL_EVALUATION).filter(
team_id=self.team_id, deleted=False, active=True
team__project_id=self.project_id, deleted=False, active=True
)

should_send_cohorts = "send_cohorts" in request.GET
Expand Down

0 comments on commit cd49a8c

Please sign in to comment.