From 637591ffc7b29a8fd1cd153680593fa71f1d8517 Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Fri, 25 Jun 2021 12:04:51 +0100 Subject: [PATCH] Add identity to segment logic, missed in previous PR (#154) --- api/integrations/segment/segment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/integrations/segment/segment.py b/api/integrations/segment/segment.py index d25c4f1036dc..bdb50fdf2762 100644 --- a/api/integrations/segment/segment.py +++ b/api/integrations/segment/segment.py @@ -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 )