Skip to content

Commit

Permalink
docs: update instructions on creating ApiConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklasl authored Feb 7, 2024
1 parent 064bef2 commit ca0fc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
confidence "github.com/spotify/confidence-openfeature-provider-go/pkg/provider"
)

provider, err := confidence.NewFlagProvider(confidence.APIConfig{APIKey: "apiKey", Region: confidence.APIRegionEU})
provider, err := confidence.NewFlagProvider(confidence.NewAPIConfig("clientSecret"))

if err != nil {
// handle error
Expand Down

0 comments on commit ca0fc32

Please sign in to comment.