From 5126f8ea32802597aff472428ca2acab0c8b4e0e Mon Sep 17 00:00:00 2001 From: Tan Ho <38083823+tanho63@users.noreply.github.com> Date: Wed, 29 May 2024 14:22:55 -0400 Subject: [PATCH] update httptest redactor --- inst/httptest/redact.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/httptest/redact.R b/inst/httptest/redact.R index 8bd3d232..85bbf9b7 100644 --- a/inst/httptest/redact.R +++ b/inst/httptest/redact.R @@ -1,6 +1,6 @@ httptest::set_redactor( function(response){ - httptest::gsub_response(response,"https\\://fantasy.espn.com/apis/v3/games/ffl/","espn/") %>% + httptest::gsub_response(response,"https\\://.*fantasy.espn.com/apis/v3/games/ffl/","espn/") %>% httptest::gsub_response("https\\://api.myfantasyleague.com/","mfl/") %>% httptest::gsub_response("https\\://api.sleeper.app/","sleeper/") %>% httptest::gsub_response("https\\://www.fleaflicker.com/","flea/") %>%