forked from pothtonswer/discordmuffin
Removed comment.
This commit is contained in:
parent
97aa01d88f
commit
f1775b9440
1 changed files with 1 additions and 1 deletions
|
@ -111,10 +111,10 @@ func (s *Session) Login(email string, password string) (token string, err error)
|
|||
|
||||
var temp map[string]interface{}
|
||||
err = json.Unmarshal(response, &temp)
|
||||
// prevent crashing by manipulating a map that has no data
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
token = temp["token"].(string)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue