diff --git a/R/phs_GET.R b/R/phs_GET.R index 0af0702..2918784 100644 --- a/R/phs_GET.R +++ b/R/phs_GET.R @@ -11,6 +11,7 @@ phs_GET <- function(action, query, verbose = FALSE) { response <- httr::RETRY( verb = "GET", url = url, + terminate_on = c(409), user_agent = httr::user_agent( "https://github.com/Public-Health-Scotland/phsmethods" )