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.
This commit is contained in:
Jebbs 2019-11-01 09:59:04 +08:00 committed by Frédéric Guillot
parent 21f8b03483
commit b62ecc6699

View file

@ -398,6 +398,8 @@ func (h *handler) handleWriteItems(w http.ResponseWriter, r *http.Request) {
} }
if entry == nil { if entry == nil {
logger.Debug("[Fever] Marking entry #%d but not found, ignored", entryID)
json.OK(w, r, newBaseResponse())
return return
} }