Skip to content

Commit 0410cb8

Browse files
committed
fix httr2 warnings
1 parent 820ba3e commit 0410cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/api_request_httr2.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@
106106
#'
107107
#' @return A httr2 request object.
108108
#' @export
109-
.request_headers.httr2 <- function(req_obj, header) {
109+
.request_headers.httr2 <- function(req_obj, header, ...) {
110110
default_value <- list(
111111
"User-Agent" = "SITS-R-PACKAGE (github.com/e-sensing/sits)",
112112
"Accept" = "*/*",
113113
"Connection" = "keep-alive"
114114
)
115115

116-
header_values <- modifyList(
116+
header_values <- utils::modifyList(
117117
x = header,
118118
val = default_value
119119
)

0 commit comments

Comments
 (0)