Skip to content

Commit 05f387f

Browse files
committed
Omit empty endpoints.sharedInbox
This fixes writefreely/writefreely#8
1 parent 265880c commit 05f387f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activitystreams/data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type (
1717
}
1818

1919
Endpoints struct {
20-
SharedInbox string `json:"sharedInbox"`
20+
SharedInbox string `json:"sharedInbox,omitempty"`
2121
}
2222

2323
Image struct {

0 commit comments

Comments
 (0)