mirror of
https://github.com/miniflux/v2.git
synced 2025-08-16 18:01:37 +00:00
Mark only globally visible entries when marking all entries from UI
This commit is contained in:
parent
31c4172540
commit
118e18190d
2 changed files with 28 additions and 1 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
)
|
||||
|
||||
func (h *handler) markAllAsRead(w http.ResponseWriter, r *http.Request) {
|
||||
if err := h.store.MarkAllAsRead(request.UserID(r)); err != nil {
|
||||
if err := h.store.MarkGloballyVisibleFeedsAsRead(request.UserID(r)); err != nil {
|
||||
json.ServerError(w, r, err)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue