1
0
Fork 0
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:
Romain de Laage 2023-05-30 20:29:36 +02:00 committed by Frédéric Guillot
parent 31c4172540
commit 118e18190d
2 changed files with 28 additions and 1 deletions

View file

@ -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
}