Skip to content

Commit

Permalink
formatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonfreitas committed Jul 13, 2024
1 parent 1520962 commit 9974cba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/downloaders.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ settlement_prices_download <- function(., dest, ...) {
verifyssl <- if (!is.null(.$verifyssl)) .$verifyssl else TRUE
if (verifyssl) {
res <- POST(.$downloader$url,
body = list(dData1 = strdate),
encode = "form"
body = list(dData1 = strdate),
encode = "form"
)
} else {
res <- POST(.$downloader$url,
body = list(dData1 = strdate),
encode = "form", config(ssl_verifypeer = FALSE)
body = list(dData1 = strdate),
encode = "form", config(ssl_verifypeer = FALSE)
)
}
if (status_code(res) != 200) {
Expand Down

0 comments on commit 9974cba

Please sign in to comment.