Skip to content

Commit

Permalink
new var from ... called params for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
fegue committed Jul 10, 2024
1 parent d500faf commit 04dd3c2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/api.R
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,8 @@ get_historicalrecorders <- function(...) {
#' @export

patch_recorders <- function(..., recorder_name, file_path) {
# params = list(...)
new_data <- list(...)
ecopi_api("PATCH /recorders/{recorder_name}/", recorder_name = recorder_name, new_data = new_data, file_path = file_path)
params = list(...)
ecopi_api("PATCH /recorders/{recorder_name}/", recorder_name = recorder_name, new_data = params, file_path = file_path)
}


Expand Down

0 comments on commit 04dd3c2

Please sign in to comment.