Skip to content

Commit

Permalink
fix(api): Remove force flag for api
Browse files Browse the repository at this point in the history
  • Loading branch information
dustmop committed Nov 11, 2019
1 parent e89a2f6 commit 2acf8d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/datasets.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ func (h *DatasetHandlers) removeHandler(w http.ResponseWriter, r *http.Request)
Ref: HTTPPathToQriPath(r.URL.Path[len("/remove"):]),
Revision: dsref.Rev{Field: "ds", Gen: -1},
KeepFiles: r.FormValue("keep-files") == "true",
Force: r.FormValue("force") == "true",
}
if r.FormValue("all") == "true" {
p.Revision = dsref.NewAllRevisions()
Expand Down

0 comments on commit 2acf8d8

Please sign in to comment.