aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2019-11-29 11:49:53 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2019-11-29 11:56:00 -0800
commita96e966911dd6c57f8b4c4c7ace65a8a4b9d913c (patch)
tree1cc87583a6ea54998e29e03b4d99f62556e82883
parent69aa650203087ad6365fcd6769a49bdf327e9efb (diff)
Do not expose yet feed counter via API
-rw-r--r--model/feed.go4
1 files 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 {