Skip to content

Commit 5eab0c4

Browse files
authored
Merge pull request #60 from headincl0ud/fix/metadata-editor-property
[issue-59] Fixed metadata editor property
2 parents f277b26 + 358b47b commit 5eab0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type Metadata struct {
4242

4343
// Properties defines properties of the editor
4444
type Properties struct {
45-
Editor *Editor `json:"editor"`
45+
Editor *Editor `json:"editor,omitempty"`
4646
ContentAppearanceDraft *ContentAppearanceDraft `json:"content-appearance-draft"`
4747
ContentAppearancePublished *ContentAppearancePublished `json:"content-appearance-published"`
4848
}

0 commit comments

Comments
 (0)