diff --git a/R/importOutput.R b/R/importOutput.R index 6d41e83e..38612ff4 100644 --- a/R/importOutput.R +++ b/R/importOutput.R @@ -985,9 +985,10 @@ } endpoint <- paste0(endpoint_root, frequency_url, columns_url, links_url, mc_years_url) - res <- api_get(opts = opts, - endpoint = endpoint, - default_endpoint = "v1/studies") + res <- api_get(opts = opts, endpoint = endpoint, default_endpoint = "v1/studies") + + attr(res, "spec") <- NULL + attr(res, "problems") <- NULL return(as.data.table(res)) }