diff --git a/R/api_stac.R b/R/api_stac.R index 0e16a0f97..8c67d1ad4 100644 --- a/R/api_stac.R +++ b/R/api_stac.R @@ -154,6 +154,9 @@ datetime = datetime, limit = limit ) + # adjust limit datatype + rstac_query[["params"]][["limit"]] <- as.numeric(limit) + # return! return(rstac_query) } #' @title Extract bounding box from a STAC Query.