Skip to content

Commit

Permalink
fix(api): remove files field is 'files', not 'delete'
Browse files Browse the repository at this point in the history
  • Loading branch information
b5 committed Sep 12, 2019
1 parent f0ba1a1 commit 3017723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/datasets.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func (h *DatasetHandlers) removeHandler(w http.ResponseWriter, r *http.Request)
Ref: HTTPPathToQriPath(r.URL.Path[len("/remove"):]),
Revision: rev.Rev{Field: "ds", Gen: -1},
Unlink: r.FormValue("unlink") == "true",
DeleteFSIFiles: r.FormValue("delete") == "true",
DeleteFSIFiles: r.FormValue("files") == "true",
}
if r.FormValue("all") == "true" {
p.Revision = rev.NewAllRevisions()
Expand Down

0 comments on commit 3017723

Please sign in to comment.