Skip to content

Commit

Permalink
spell out success and failure response for proof_cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jan 26, 2024
1 parent 669972c commit 1c069c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/cancel.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
#' @export
#' @references <https://github.com/FredHutch/proof-api#delete-cromwell-server>
#' @inheritSection proof_status Timeout
#' @return A list with a single field:
#' @return On success, a list with a single field:
#' - `message` (character)
#'
#' If run when there's no Cromwell server running, an HTTP error
proof_cancel <- function() {
response <- DELETE(
make_url("cromwell-server"),
Expand Down
4 changes: 3 additions & 1 deletion man/proof_cancel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c069c8

Please sign in to comment.