mirror of
https://github.com/tobiasehlert/teslamateapi.git
synced 2026-02-27 09:54:18 +08:00
Update v1_TeslaMateAPICarsCharges.go
Typo
This commit is contained in:
@@ -181,7 +181,7 @@ func TeslaMateAPICarsChargesV1(c *gin.Context) {
|
||||
}
|
||||
|
||||
// if no errors, but ChargeData is empty, return a valid response with an empty set
|
||||
if len(ChargeData) == 0 {
|
||||
if len(ChargesData) == 0 {
|
||||
ValidResponse = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user