Skip to content

Commit

Permalink
fix: include targetingKey in flagd serialized evaluation context (#58)
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Bond <federicobond@gmail.com>
  • Loading branch information
federicobond authored Feb 24, 2024
1 parent 02157f4 commit ddd79a4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def _convert_context(self, evaluation_context: EvaluationContext):
s = Struct()
if evaluation_context:
try:
s["targetingKey"] = evaluation_context.targeting_key
s.update(evaluation_context.attributes)
except ValueError as exc:
message = (
Expand Down

0 comments on commit ddd79a4

Please sign in to comment.