forked from pothtonswer/discordmuffin
Fixed bug in restapi.go where UserUpdate data struct was not declared correctly.
This commit is contained in:
parent
0360acbaa0
commit
ebbe3e3828
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ func (s *Session) UserUpdate(userID, email, password, username, avatar, newPassw
|
|||
// to set a new avatar.
|
||||
// If left blank, avatar will be set to null/blank
|
||||
|
||||
data = struct {
|
||||
data := struct {
|
||||
Email string `json:"email"`
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
|
|
Loading…
Reference in a new issue