Skip to content

Commit

Permalink
update per review
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanato committed Apr 3, 2017
1 parent a3edde0 commit f46c654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/client4.go
Expand Up @@ -2011,7 +2011,7 @@ func (c *Client4) GetUsersStatusesByIds(userIds []string) ([]*Status, *Response)
}
}

// UpdateUserStatus returns a user based on the provided user id string.
// UpdateUserStatus sets a user's status based on the provided user id string.
func (c *Client4) UpdateUserStatus(userId string, userStatus *Status) (*Status, *Response) {
if r, err := c.DoApiPut(c.GetUserStatusRoute(userId), userStatus.ToJson()); err != nil {
return nil, &Response{StatusCode: r.StatusCode, Error: err}
Expand Down

0 comments on commit f46c654

Please sign in to comment.