mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
GET categories returns total_unread & feed_count
This commit is contained in:
parent
b13c7e328a
commit
fa3de272e8
4 changed files with 17 additions and 8 deletions
|
@ -11,8 +11,8 @@ type Category struct {
|
|||
Title string `json:"title"`
|
||||
UserID int64 `json:"user_id"`
|
||||
HideGlobally bool `json:"hide_globally"`
|
||||
FeedCount int `json:"-"`
|
||||
TotalUnread int `json:"-"`
|
||||
FeedCount *int `json:"feed_count,omitempty"`
|
||||
TotalUnread *int `json:"total_unread,omitempty"`
|
||||
}
|
||||
|
||||
func (c *Category) String() string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue