Skip to content

Commit

Permalink
Patched issue with data-by-date call
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhagan committed Aug 30, 2023
1 parent 22e3a5d commit 39a5596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/wrappers.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ get_data <- function(sn, limit = 1000, start = NULL, stop = NULL, filter = NULL,
#'
#' @export
get_data_by_date <- function(sn, date, raw = FALSE){
endpoint <- paste("devices", "sn", "data-by-date", sep = "/")
endpoint <- paste("devices", sn, "data-by-date", sep = "/")

if(raw){
endpoint <- paste(endpoint, "raw", sep="/")
Expand Down

0 comments on commit 39a5596

Please sign in to comment.