From a96e966911dd6c57f8b4c4c7ace65a8a4b9d913c Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 29 Nov 2019 11:49:53 -0800 Subject: Do not expose yet feed counter via API --- model/feed.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/feed.go b/model/feed.go index 5782c4f..48cc2b6 100644 --- a/model/feed.go +++ b/model/feed.go @@ -33,8 +33,8 @@ type Feed struct { Category *Category `json:"category,omitempty"` Entries Entries `json:"entries,omitempty"` Icon *FeedIcon `json:"icon"` - UnreadCount int - ReadCount int + UnreadCount int `json:"-"` + ReadCount int `json:"-"` } func (f *Feed) String() string { -- cgit v1.2.3