From 297658ba4d0175693d637e69643dd0f992f981a7 Mon Sep 17 00:00:00 2001 From: Nicklas Lundin Date: Tue, 9 Jul 2024 15:52:04 +0200 Subject: [PATCH] docs: fix typo (#161) --- Sources/ConfidenceProvider/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ConfidenceProvider/README.md b/Sources/ConfidenceProvider/README.md index 734b5acd..fb6cc4af 100644 --- a/Sources/ConfidenceProvider/README.md +++ b/Sources/ConfidenceProvider/README.md @@ -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.