show unread/starred count
This commit is contained in:
parent
ffd2deb5d8
commit
76a08df741
5 changed files with 81 additions and 5 deletions
|
|
@ -45,7 +45,7 @@ func StaticHandler(rw http.ResponseWriter, req *http.Request) {
|
|||
func StatusHandler(rw http.ResponseWriter, req *http.Request) {
|
||||
writeJSON(rw, map[string]interface{}{
|
||||
"running": handler(req).fetchRunning,
|
||||
"stats": map[string]int64{},
|
||||
"stats": db(req).FeedStats(),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue