Fix return type...
This commit is contained in:
parent
054115bc89
commit
e755370170
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ func (s *Session) Login(email string, password string) (token string, err error)
|
||||||
|
|
||||||
response, err := s.Request("POST", LOGIN, data)
|
response, err := s.Request("POST", LOGIN, data)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return response, err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
temp := struct {
|
temp := struct {
|
||||||
|
|
Loading…
Reference in a new issue