Easee: update login endpoint (#3519)
This commit is contained in:
parent
95e466c149
commit
78e6ed0388
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ func TokenSource(log *util.Logger, user, password string) (oauth2.TokenSource, e
|
|||
Password: password,
|
||||
}
|
||||
|
||||
uri := fmt.Sprintf("%s/%s", API, "accounts/token")
|
||||
uri := fmt.Sprintf("%s/%s", API, "accounts/login")
|
||||
req, err := request.New(http.MethodPost, uri, request.MarshalJSON(data), request.JSONEncoding)
|
||||
|
||||
if err == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue