chore: use defined consts
This commit is contained in:
parent
897af677e5
commit
1a528af7a3
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ func NewAudiFromConfig(other map[string]interface{}) (api.Vehicle, error) {
|
|||
return v, fmt.Errorf("login failed: %w", err)
|
||||
}
|
||||
|
||||
api := vw.NewAPI(log, identity, "Audi", "DE")
|
||||
api := vw.NewAPI(log, identity, audi.Brand, audi.Country)
|
||||
api.Client.Timeout = cc.Timeout
|
||||
|
||||
cc.VIN, err = ensureVehicle(cc.VIN, api.Vehicles)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue