Skip to content

Commit

Permalink
Add identity to segment logic, missed in previous PR (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Jun 25, 2021
1 parent db72916 commit 637591f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/integrations/segment/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def generate_user_data(
feature_properties = {}

for feature_state in feature_states:
value = feature_state.get_feature_state_value()
value = feature_state.get_feature_state_value(identity=identity)
feature_properties[feature_state.feature.name] = (
value if (feature_state.enabled and value) else feature_state.enabled
)
Expand Down

0 comments on commit 637591f

Please sign in to comment.