Skip to content

Commit

Permalink
Merge pull request #266 from doanac/user-api-fix
Browse files Browse the repository at this point in the history
client: Fix user API URL
  • Loading branch information
doanac authored Sep 8, 2023
2 parents a7078b1 + 5831393 commit 679afa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/foundries.go
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ func (a *Api) UsersList(factory string) ([]FactoryUser, error) {
}

func (a *Api) UserAccessDetails(factory string, user_id string) (*FactoryUserAccessDetails, error) {
url := a.serverUrl + "/ota/factories/" + factory + "/users/" + user_id
url := a.serverUrl + "/ota/factories/" + factory + "/users/" + user_id + "/"
body, err := a.Get(url)
if err != nil {
return nil, err
Expand Down

0 comments on commit 679afa7

Please sign in to comment.