Skip to content

Commit

Permalink
fix: Remove Bearer from Unleash auth header
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoremepunto committed Mar 11, 2024
1 parent e0209c1 commit ca205f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func Initialize(configFiles ...string) {
url := fmt.Sprintf("%s://%s:%d/api", cfg.FeatureFlags.Scheme, cfg.FeatureFlags.Hostname, cfg.FeatureFlags.Port)
config.Unleash.URL = url
if cfg.FeatureFlags.ClientAccessToken != nil {
config.Unleash.Token = fmt.Sprintf("Bearer %s", *cfg.FeatureFlags.ClientAccessToken)
config.Unleash.Token = *cfg.FeatureFlags.ClientAccessToken
}

// kafka
Expand Down

0 comments on commit ca205f4

Please sign in to comment.