Skip to content

Commit

Permalink
missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
ddymko committed Jan 6, 2021
1 parent 2fb333c commit 1409d9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ func (u *UserServiceHandler) Delete(ctx context.Context, userID string) error {
// List will list all the users associated with your Vultr account
func (u *UserServiceHandler) List(ctx context.Context, options *ListOptions) ([]User, *Meta, error) {
req, err := u.client.NewRequest(ctx, http.MethodGet, path, nil)
if err != nil {
return nil, nil, err
}

newValues, err := query.Values(options)
if err != nil {
Expand Down

0 comments on commit 1409d9c

Please sign in to comment.