Commit 1877c5d
committed
add origin:app header for Cupra/Seat API requests
The MyCupra 2.16.0 APK sets origin:app via Retrofit @Header annotation
on charging/climate status+settings endpoints (e.g. ChargeApi,
ClimateControlApi). Without it, recent Cupra/Seat backend changes
return errors on getVehicles/garage. Setting it globally on all
three header blocks (getVehicles, getSeatCupraStatus,
setSeatCupraStatus) matches pycupra and the actual app behavior.1 parent 4bac171 commit 1877c5d
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1979 | 1979 | | |
1980 | 1980 | | |
1981 | 1981 | | |
| 1982 | + | |
1982 | 1983 | | |
1983 | 1984 | | |
1984 | 1985 | | |
| |||
3767 | 3768 | | |
3768 | 3769 | | |
3769 | 3770 | | |
| 3771 | + | |
3770 | 3772 | | |
3771 | 3773 | | |
3772 | 3774 | | |
| |||
3894 | 3896 | | |
3895 | 3897 | | |
3896 | 3898 | | |
| 3899 | + | |
3897 | 3900 | | |
3898 | 3901 | | |
3899 | 3902 | | |
| |||
0 commit comments