Skip to content

Commit

Permalink
fix(tmc): omit optional fields of the stack object (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
i4k-tm committed Sep 21, 2023
2 parents 3a6e6f0 + 111c8ff commit bd08f6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloud/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ type (
Repository string `json:"repository"`
Path string `json:"path"`
MetaID string `json:"meta_id"`
MetaName string `json:"meta_name"`
MetaDescription string `json:"meta_description"`
MetaTags []string `json:"meta_tags"`
MetaName string `json:"meta_name,omitempty"`
MetaDescription string `json:"meta_description,omitempty"`
MetaTags []string `json:"meta_tags,omitempty"`
}

// StacksResponse represents the stacks object response.
Expand Down

0 comments on commit bd08f6d

Please sign in to comment.