mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
Allow ignore_http_cache field to be changed via API
This commit is contained in:
parent
5922a7a051
commit
4e5240c5ac
10 changed files with 196 additions and 146 deletions
|
@ -132,7 +132,7 @@ func (h *handler) findEntries(w http.ResponseWriter, r *http.Request, feedID int
|
|||
}
|
||||
|
||||
func (h *handler) setEntryStatus(w http.ResponseWriter, r *http.Request) {
|
||||
entryIDs, status, err := decodeEntryStatusPayload(r.Body)
|
||||
entryIDs, status, err := decodeEntryStatusRequest(r.Body)
|
||||
if err != nil {
|
||||
json.BadRequest(w, r, errors.New("Invalid JSON payload"))
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue