diff --git a/app/store/store.go b/app/store/store.go index b3087a3e..2269eee1 100644 --- a/app/store/store.go +++ b/app/store/store.go @@ -24,7 +24,7 @@ type Comment struct { Score int `json:"score"` Votes map[string]bool `json:"votes"` Timestamp time.Time `json:"time"` - Pin bool `json:"pin"` + Pin bool `json:"pin,omitempty"` } // Locator keeps site and url of the post