Skip to content

Commit

Permalink
Add omitempty field to Metadata struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Liokumovich authored and dimaliok committed Oct 31, 2024
1 parent 5eab0c4 commit b2c9ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Content struct {
Space *Space `json:"space"`
History *History `json:"history,omitempty"`
Links *Links `json:"_links,omitempty"`
Metadata *Metadata `json:"metadata"`
Metadata *Metadata `json:"metadata,omitempty"`
}

// Metadata specifies metadata properties
Expand Down

0 comments on commit b2c9ffb

Please sign in to comment.