Skip to content

Commit

Permalink
add missing NullString in TeslaMateAPICars
Browse files Browse the repository at this point in the history
Co-Authored-By: Vincent Barrier <[email protected]>
  • Loading branch information
tobiasehlert and vbarrier committed Sep 22, 2023
1 parent e4ff878 commit 4342617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v1_TeslaMateAPICars.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4342617

Please sign in to comment.