diff --git a/providers/cloudflare/provider/provider.go b/providers/cloudflare/provider/provider.go index 83a1396be1..8d9ec270ac 100644 --- a/providers/cloudflare/provider/provider.go +++ b/providers/cloudflare/provider/provider.go @@ -54,7 +54,7 @@ func (s *Service) ParseCLI(req *plugin.ParseCLIReq) (*plugin.ParseCLIRes, error) // token if x, ok := flags["token"]; ok { - conf.Options[connection.OPTION_API_TOKEN] = x.String() + conf.Options[connection.OPTION_API_TOKEN] = string(x.GetValue()) } asset := inventory.Asset{