1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-16 18:01:37 +00:00

fix(consistency): align feed modification behavior between API and UI

This commit is contained in:
AiraNadih 2024-12-08 15:56:39 +08:00 committed by Frédéric Guillot
parent 2671f57edd
commit c1ef986cab

View file

@ -121,6 +121,7 @@ func (h *handler) updateFeed(w http.ResponseWriter, r *http.Request) {
}
feedModificationRequest.Patch(originalFeed)
originalFeed.ResetErrorCounter()
if err := h.store.UpdateFeed(originalFeed); err != nil {
json.ServerError(w, r, err)
return