Skip to content

Commit

Permalink
docs: fix typo (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklasl authored Jul 9, 2024
1 parent 2e65c47 commit 297658b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ConfidenceProvider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import OpenFeature
let confidence = Confidence.Builder(clientSecret: "mysecret").build()
let provider = ConfidenceFeatureProvider(confidence: confidence)
let ctx = MutableContext(targetingKey: "myTargetingKey", structure: MutableStructure())
OpenFeatureAPI.shared.setProvider(provider: provider, initialContext:)
OpenFeatureAPI.shared.setProvider(provider: provider, initialContext: ctx)
```

The evaluation context is the way for the client to specify contextual data that Confidence uses to evaluate rules defined on the flag.
Expand Down

0 comments on commit 297658b

Please sign in to comment.