Skip to content

Commit 60eb4d9

Browse files
committed
Use keyword arg in POST
1 parent 9fda994 commit 60eb4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/search-pv.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ one_request <- function(method, query, base_url, arg_list, ...) {
5858
resp <- httr::GET(get_url, ua, ...)
5959
} else {
6060
body <- get_post_body(query, arg_list)
61-
resp <- httr::POST(base_url, body, ua, ...)
61+
resp <- httr::POST(base_url, body = body, ua, ...)
6262
}
6363

6464
if (httr::http_error(resp)) throw_er(resp)

0 commit comments

Comments
 (0)