Skip to content

Commit

Permalink
Merge pull request #138 from mikemahoney218/patch-1
Browse files Browse the repository at this point in the history
Fix typo in error message
  • Loading branch information
OldLipe authored Jun 13, 2023
2 parents b9c33a7 + c1dc382 commit 2b2cecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/request.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ post_request <- function(q, ..., encode = c("json", "multipart", "form")) {
httr_encode <- c("json", "multipart", "form")
encode <- encode[[1]]
if (!encode %in% httr_encode)
.error("Invalid body `encode` '%s'. Allowed `econde` are %s.",
.error("Invalid body `encode` '%s'. Allowed `encode` are %s.",
encode, paste0("'", httr_encode, "'", collapse = ", "))

# stamp verb
Expand Down

0 comments on commit 2b2cecf

Please sign in to comment.