Skip to content

Commit 8c97be8

Browse files
update: fix argument order in CMAB traffic allocation method
1 parent 4ada38b commit 8c97be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/optimizely/decision_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def get_decision_for_cmab_experiment(project_config, experiment, user_context, b
513513

514514
# Check if user is in CMAB traffic allocation
515515
bucketed_entity_id, bucket_reasons = @bucketer.bucket_to_entity_id(
516-
project_config, experiment, user_id, bucketing_id
516+
project_config, experiment, bucketing_id, user_id
517517
)
518518
decide_reasons.push(*bucket_reasons)
519519
unless bucketed_entity_id

0 commit comments

Comments
 (0)