Skip to content

Commit

Permalink
fix(get_hydrometrie_site]: missing attribute "query"
Browse files Browse the repository at this point in the history
Closes #46
  • Loading branch information
DDorch committed Dec 1, 2024
1 parent 55899d0 commit b91a7ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/get_hydrometrie.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ get_hydrometrie_sites <- function(...,
endpoint = "sites",
...
)
attributes_l <- attributes(l)
l <- lapply(l, function(x) {
fields <-
c(
Expand Down Expand Up @@ -127,6 +128,7 @@ get_hydrometrie_sites <- function(...,
}
x
})
attributes(l) <- attributes_l
convert_list_to_tibble(l)
}

Expand Down

0 comments on commit b91a7ed

Please sign in to comment.