From 43426176f4dea860ac3ddc45b5a5587ade462a54 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Fri, 22 Sep 2023 17:08:44 +0200 Subject: [PATCH] add missing NullString in TeslaMateAPICars Co-Authored-By: Vincent Barrier --- src/v1_TeslaMateAPICars.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v1_TeslaMateAPICars.go b/src/v1_TeslaMateAPICars.go index 7686a5b..fbfdc25 100644 --- a/src/v1_TeslaMateAPICars.go +++ b/src/v1_TeslaMateAPICars.go @@ -56,7 +56,7 @@ func TeslaMateAPICarsV1(c *gin.Context) { // Cars struct - child of Data type Cars struct { CarID int `json:"car_id"` // smallint - Name string `json:"name"` // text + Name NullString `json:"name"` // text (nullable) CarDetails CarDetails `json:"car_details"` // struct CarExterior CarExterior `json:"car_exterior"` // struct CarSettings CarSettings `json:"car_settings"` // struct