Temporary static Kamereon-API key fix

Needs to be finally fixed upstream or using updates configuration file.

Closes #636
This commit is contained in:
premultiply 2021-02-01 21:42:51 +01:00 • committed by GitHub
parent 87803399ca
commit f9c1be6034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -261,7 +261,8 @@ func (v *Renault) kamereonRequest(uri string) (kamereonResponse, error) {
data := url.Values{"country": []string{"DE"}}
headers := map[string]string{
"x-gigya-id_token": v.gigyaJwtToken,
"apikey": v.kamereon.APIKey,
// "apikey": v.kamereon.APIKey, // wrong key since 2021-02-01
"apikey": "Ae9FDWugRxZQAGm3Sxgk7uJn6Q4CGEA2", // temporary workaround
}
var res kamereonResponse