Skip to content

Commit

Permalink
fix error with missing resp variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kbvernon committed Jan 22, 2024
1 parent 84a5dd2 commit 643cf35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/get-estimates.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ get_layer_estimates <- function(x, token = arc_token()) {
"getEstimates"
)

resp <- httr2::req_perform(
httr2::req_url_query(est_req, f = "json")
)

# process json string
res_raw <- RcppSimdJson::fparse(httr2::resp_body_string(resp))

Expand Down

0 comments on commit 643cf35

Please sign in to comment.