There was an error while loading. Please reload this page.
1 parent 4800c7a commit 358b47bCopy full SHA for 358b47b
content.go
@@ -42,9 +42,9 @@ type Metadata struct {
42
43
// Properties defines properties of the editor
44
type Properties struct {
45
-Editor *Editor `json:"editor"`
46
-ContentAppearanceDraft *ContentAppearanceDraft `json:"content_appearance_draft"`
47
-ContentAppearancePublished *ContentAppearancePublished `json:"content_appearance_published"`
+Editor *Editor `json:"editor,omitempty"`
+ContentAppearanceDraft *ContentAppearanceDraft `json:"content-appearance-draft"`
+ContentAppearancePublished *ContentAppearancePublished `json:"content-appearance-published"`
48
}
49
50
// Editor contains editor information
0 commit comments