Update v1_TeslaMateAPICarsCharges.go

Typo
This commit is contained in:
Alec O'Connor
2021-05-19 13:46:31 -04:00
committed by GitHub
parent 61b2ac0967
commit 8843c64089
+1 -1
View File
@@ -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
}