MySkoda: fix error upon vehicle wake up (#15307)

This commit is contained in:
Michael Heß 2024-08-08 18:56:58 +02:00 • committed by GitHub
parent e9b4309cf6
commit 0de5261be8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,7 +107,7 @@ func (v *API) WakeUp(vin string) error {
req, err := request.New(http.MethodPost, uri, nil, request.JSONEncoding)
if err == nil {
err = v.DoJSON(req, nil)
_, err = v.DoBody(req) // this returns 202 and a empty response body
}
return err
}