Quellcode durchsuchen

Do not expose yet feed counter via API

Frédéric Guillot vor 6 Jahren
Ursprung
Commit
a96e966911
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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 {