diff --git a/src/TeslaMateAPICars.go b/src/TeslaMateAPICars.go index 67e90da..3ac7a7d 100644 --- a/src/TeslaMateAPICars.go +++ b/src/TeslaMateAPICars.go @@ -13,12 +13,12 @@ func TeslaMateAPICars() (string, bool) { // creating structs for /cars // CarDetails struct - child of Cars type CarDetails struct { - EID int64 `json:"eid"` // bigint - VID int64 `json:"vid"` // bigint - Vin string `json:"vin"` // text - Model string `json:"model"` // character varying(255) - TrimBadging string `json:"trim_badging"` // text - Efficiency float64 `json:"efficiency"` // double precision + EID int64 `json:"eid"` // bigint + VID int64 `json:"vid"` // bigint + Vin string `json:"vin"` // text + Model string `json:"model"` // character varying(255) + TrimBadging NullString `json:"trim_badging"` // text + Efficiency float64 `json:"efficiency"` // double precision } // CarExterior struct - child of Cars type CarExterior struct {