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:
parent
21f8b03483
commit
b62ecc6699
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue