Skip to content

Commit

Permalink
added json fields for the functionupdate struct
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-davidd committed Oct 31, 2023
1 parent ccbe9dd commit a0939d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions station.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ type stationFunctionSub struct {
}

type FunctionsUpdate struct {
UpdateType string
Functions map[int]int
UpdateType string `json:"update_type"`
Functions map[int]int `json:"functions"`
}

type functionsDetails struct {
Expand Down

0 comments on commit a0939d2

Please sign in to comment.