Skip to content

Commit b91a7ed

Browse files
committed
fix(get_hydrometrie_site]: missing attribute "query"
Closes #46
1 parent 55899d0 commit b91a7ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/get_hydrometrie.R

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ get_hydrometrie_sites <- function(...,
9494
endpoint = "sites",
9595
...
9696
)
97+
attributes_l <- attributes(l)
9798
l <- lapply(l, function(x) {
9899
fields <-
99100
c(
@@ -127,6 +128,7 @@ get_hydrometrie_sites <- function(...,
127128
}
128129
x
129130
})
131+
attributes(l) <- attributes_l
130132
convert_list_to_tibble(l)
131133
}
132134

0 commit comments

Comments
 (0)