Fix comment of GetAccountCurrentUser
parent
9cace6b291
commit
1182d1e662
|
@ -215,7 +215,7 @@ func (c *Client) GetAccount(id int) (*Account, error) {
|
||||||
return &account, nil
|
return &account, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetAccountCurrentUser return current user Account.
|
// GetAccountCurrentUser return Account of current user.
|
||||||
func (c *Client) GetAccountCurrentUser() (*Account, error) {
|
func (c *Client) GetAccountCurrentUser() (*Account, error) {
|
||||||
var account Account
|
var account Account
|
||||||
err := c.doAPI("GET", "/api/v1/accounts/verify_credentials", nil, &account)
|
err := c.doAPI("GET", "/api/v1/accounts/verify_credentials", nil, &account)
|
||||||
|
|
Loading…
Reference in New Issue