Skip to content

Commit

Permalink
add reasons to return
Browse files Browse the repository at this point in the history
  • Loading branch information
Mat001 committed Dec 4, 2021
1 parent 17efc27 commit 201548f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimizely/optimizely_user_context.py
Expand Up @@ -248,7 +248,7 @@ def find_validated_forced_decision(self, decision_context):
# otherwise we would us self.client instead of config
config = self.client.config_manager.get_config() if self.client else None
if not config:
return None
return None, reasons
variation = config.get_flag_variation(flag_key, 'key', forced_decision.variation_key)
if variation:
if rule_key:
Expand Down

0 comments on commit 201548f

Please sign in to comment.