Skip to content

Commit

Permalink
Remove erroneous trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
ehardisty committed Sep 20, 2024
1 parent 09db674 commit 7e0b26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (cli *Client) GetUser(name string) (*FullUser, error) {
apiPath := fmt.Sprintf("/api/v1/users/%s", name)
if cli.clientType == Saas || cli.clientType == SaasDev {
baseUrl = cli.tokenUrl
apiPath = fmt.Sprintf("/v2/users/%s/?expand=csproles,group", name)
apiPath = fmt.Sprintf("/v2/users/%s?expand=csproles,group", name)
}

request := cli.gorequest
Expand Down

0 comments on commit 7e0b26b

Please sign in to comment.