Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
devang-gaur committed Jul 31, 2024
1 parent a1b967c commit 9abf6ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/macro.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package client

import (
"errors"

clientv1 "github.com/spectrocloud/palette-api-go/client/v1"
"github.com/spectrocloud/palette-api-go/models"
"github.com/spectrocloud/palette-sdk-go/client/apiutil"
Expand Down
2 changes: 1 addition & 1 deletion client/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (h *V1Client) Authenticate(body *models.V1AuthLogin) (*models.V1UserToken,
return resp.Payload, nil
}

// GetMe retrieves the authenticated user.
// GetUsersInfo retrieves the authenticated user info.
func (h *V1Client) GetUsersInfo() (*models.V1UserInfo, error) {
params := clientv1.NewV1UsersInfoGetParamsWithContext(h.ctx)
resp, err := h.Client.V1UsersInfoGet(params)
Expand Down

0 comments on commit 9abf6ad

Please sign in to comment.