Skip to content

Commit

Permalink
Fix ssl_verifypeer to use sslVerify value
Browse files Browse the repository at this point in the history
  • Loading branch information
phillc73 committed Apr 30, 2019
1 parent 79a5cb9 commit 6b44e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/loginBF.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ loginBF <-


loginReturn = tryCatch(
httr::POST(url = "https://identitysso.betfair.com/api/login", config = httr::config(ssl_verifypeer = T),
httr::POST(url = "https://identitysso.betfair.com/api/login", config = httr::config(ssl_verifypeer = sslVerify),
query = credentials,
httr::add_headers(Accept = "application/json", `X-Application` = applicationKey))
,error = function(cond) {
Expand Down

0 comments on commit 6b44e76

Please sign in to comment.