diff --git a/internal/config/config.go b/internal/config/config.go index e5a73d10..e9d2d736 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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