Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
efd6 committed Oct 14, 2024
1 parent 02647d1 commit 28b3b14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func GetUserFactors(ctx context.Context, cli *http.Client, host, key, user strin
const endpoint = "/api/v1/users"

if user == "" {
return nil, nil, errors.New("no group specified")
return nil, nil, errors.New("no user specified")
}

u := &url.URL{
Expand All @@ -238,7 +238,7 @@ func GetUserRoles(ctx context.Context, cli *http.Client, host, key, user string,
const endpoint = "/api/v1/users"

if user == "" {
return nil, nil, errors.New("no group specified")
return nil, nil, errors.New("no user specified")
}

u := &url.URL{
Expand Down

0 comments on commit 28b3b14

Please sign in to comment.