Skip to content

Commit daf509c

Browse files
committed
Add the composite key check to run the multivariate lookup
1 parent 5a95edc commit daf509c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/flagsmith.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def get_identity_flags_from_document(identifier, traits = {})
198198

199199
Flagsmith::Flags::Collection.from_feature_state_models(
200200
engine.get_identity_feature_states(environment, identity_model),
201+
identity_id: identity_model.composite_key,
201202
analytics_processor: analytics_processor,
202203
default_flag_handler: default_flag_handler,
203204
offline_handler: offline_handler

0 commit comments

Comments
 (0)