Browse Source

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

AiraNadih 1 year ago
parent
commit
c1ef986cab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      internal/api/feed.go

+ 1 - 0
internal/api/feed.go

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