chore: minor
This commit is contained in:
parent
8fb8cee72d
commit
b678f00ddd
1 changed files with 2 additions and 2 deletions
|
|
@ -25,12 +25,12 @@ func init() {
|
|||
}
|
||||
|
||||
func NewTessieFromConfig(ctx context.Context, other map[string]any) (api.Charger, error) {
|
||||
cc := struct {
|
||||
var cc struct {
|
||||
Vin string
|
||||
Token string
|
||||
Location string
|
||||
Maxcurrent int64
|
||||
}{}
|
||||
}
|
||||
|
||||
if err := util.DecodeOther(other, &cc); err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue