Skip to content

Commit

Permalink
fix(tmc): omit optional fields of the stack object
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Natel <t.nateldemoura@gmail.com>
  • Loading branch information
i4ki committed Sep 21, 2023
1 parent 3c25c99 commit 111c8ff
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 111c8ff

Please sign in to comment.