Skip to content

Commit

Permalink
fix bug #21
Browse files Browse the repository at this point in the history
  • Loading branch information
JBGruber committed Oct 9, 2024
1 parent 7b2d88b commit b2587f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/lib.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ make_req <- function(req_data, server, endpoint, perform = TRUE) {
perform_reqs <- function(reqs, verbose) {

pb <- FALSE
model <- purrr::map_chr(reqs, c("body", "data", "model")) |>
unique()

if (verbose) {
pb <- list(
clear = FALSE,
Expand All @@ -88,9 +91,6 @@ perform_reqs <- function(reqs, verbose) {
)
}

model <- purrr::map_chr(reqs, c("body", "data", "model")) |>
unique()

op <- options(cli.progress_show_after = 0)
on.exit(options(op))
resps <- httr2::req_perform_parallel(
Expand Down

0 comments on commit b2587f5

Please sign in to comment.