Skip to content

Commit 643cf35

Browse files
committed
fix error with missing resp variable
1 parent 84a5dd2 commit 643cf35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

R/get-estimates.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ get_layer_estimates <- function(x, token = arc_token()) {
3535
"getEstimates"
3636
)
3737

38+
resp <- httr2::req_perform(
39+
httr2::req_url_query(est_req, f = "json")
40+
)
41+
3842
# process json string
3943
res_raw <- RcppSimdJson::fparse(httr2::resp_body_string(resp))
4044

0 commit comments

Comments
 (0)