Skip to content

Commit

Permalink
fix passthrough server-param
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-da committed Apr 18, 2024
1 parent 1b78bfb commit 3f65812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/key.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sc_key_set <- function(key, server = "ext", test = TRUE) {
#' an error is thrown.
#' @export
sc_key_get <- function(server = "ext") {
if (!sc_key_exists())
if (!sc_key_exists(server = server))
stop("No STATcube key available. Set key with sc_key_set()")
invisible(Sys.getenv(sc_key_env_var(server)))
}
Expand Down

0 comments on commit 3f65812

Please sign in to comment.