Skip to content

Commit

Permalink
fix(cli): removing suffix from path (#3948)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed Jul 30, 2024
1 parent cecc6e9 commit 11179b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/config/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func GetAPIClient(cliConfig Config) *openapi.APIClient {
config.Host = strings.TrimSuffix(cliConfig.Endpoint, "/")
config.Servers = []openapi.ServerConfiguration{
{
URL: cliConfig.Path(),
URL: strings.TrimSuffix(cliConfig.Path(), "/"),
},
}

Expand Down

0 comments on commit 11179b3

Please sign in to comment.