Skip to content

Commit

Permalink
Merge pull request #65 from dimaliok/metadata-omitempty
Browse files Browse the repository at this point in the history
Add omitempty field to Metadata struct
  • Loading branch information
c-seeger authored Nov 20, 2024
2 parents 5eab0c4 + b2c9ffb commit d5ab27b
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 d5ab27b

Please sign in to comment.