From ebbe3e38289412030885244319397d999a51da9d Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Mon, 21 Dec 2015 11:25:37 -0600 Subject: [PATCH] Fixed bug in restapi.go where UserUpdate data struct was not declared correctly. --- restapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi.go b/restapi.go index 815b5ba..9983ad3 100644 --- a/restapi.go +++ b/restapi.go @@ -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"`