From b62ecc6699c82e716b0b53bdd11636b0f9c1dd68 Mon Sep 17 00:00:00 2001 From: Jebbs Date: Fri, 1 Nov 2019 09:59:04 +0800 Subject: Send a response when changing status of removed entries in Fever API When a client, like Reeder, tries to mark an item which is removed on Miniflux, the server doesn't response OK. This may terminate the sync process, the PR fixes it. --- fever/handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fever/handler.go b/fever/handler.go index 869e621..1c31b17 100644 --- a/fever/handler.go +++ b/fever/handler.go @@ -398,6 +398,8 @@ func (h *handler) handleWriteItems(w http.ResponseWriter, r *http.Request) { } if entry == nil { + logger.Debug("[Fever] Marking entry #%d but not found, ignored", entryID) + json.OK(w, r, newBaseResponse()) return } -- cgit v1.2.3