Skip to content

Commit 430fc49

Browse files
committed
fix API change in /trips
Signed-off-by: Daniel Stamer <[email protected]>
1 parent 1d2ce6d commit 430fc49

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cmd/trip.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,11 @@ type Info struct {
9393
}
9494

9595
type DelayReason struct {
96-
Code int `json:"code"`
96+
Code string `json:"code"`
9797
Message string `json:"message"`
9898
}
9999

100-
var (
101-
TripDestinationOverride string
102-
)
100+
var TripDestinationOverride string
103101

104102
var tripCmd = &cobra.Command{
105103
Use: "trip",

0 commit comments

Comments
 (0)