Remove the userID param from UserSettings.
This commit is contained in:
parent
6de9b19ac8
commit
b26c168d94
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ func (s *Session) UserUpdate(email, password, username, avatar, newPassword stri
|
||||||
}
|
}
|
||||||
|
|
||||||
// UserSettings returns the settings for a given user
|
// UserSettings returns the settings for a given user
|
||||||
func (s *Session) UserSettings(userID string) (st *Settings, err error) {
|
func (s *Session) UserSettings() (st *Settings, err error) {
|
||||||
|
|
||||||
body, err := s.Request("GET", USER_SETTINGS("@me"), nil)
|
body, err := s.Request("GET", USER_SETTINGS("@me"), nil)
|
||||||
err = json.Unmarshal(body, &st)
|
err = json.Unmarshal(body, &st)
|
||||||
|
|
Loading…
Reference in a new issue