Просмотр исходного кода

Do not expose yet feed counter via API

Frédéric Guillot 6 лет назад
Родитель
Сommit
a96e966911
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      model/feed.go

+ 2 - 2
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 {