Omit empty endpoints.sharedInbox

This fixes writeas/writefreely#8
This commit is contained in:
Matt Baer
2018-11-11 11:55:28 -05:00
parent 265880c2cf
commit 05f387ffa1
+1 -1
View File
@@ -17,7 +17,7 @@ type (
} }
Endpoints struct { Endpoints struct {
SharedInbox string `json:"sharedInbox"` SharedInbox string `json:"sharedInbox,omitempty"`
} }
Image struct { Image struct {