From 1a410f72bce8c94f894c4d3e78bd1eacdc9c89ea Mon Sep 17 00:00:00 2001 From: CJ Yetman Date: Tue, 23 Apr 2024 07:40:11 +0200 Subject: [PATCH] remove whitespace --- R/get_currency_exchange_rates.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/get_currency_exchange_rates.R b/R/get_currency_exchange_rates.R index 452cbf0..0a068cb 100644 --- a/R/get_currency_exchange_rates.R +++ b/R/get_currency_exchange_rates.R @@ -38,7 +38,7 @@ get_currency_exchange_rates <- httr2::req_retry( max_seconds = max_seconds, is_transient = ~ httr2::resp_content_type(.x) != "application/json" - ) %>% + ) %>% httr2::req_error( is_error = ~ httr2::resp_content_type(.x) != "application/json", body = ~ cli::format_inline("IMF API did not return a valid response after {.val {max_seconds}} seconds.")