Skip to content

Commit

Permalink
Fix OR statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-gabrielhaim committed Aug 29, 2022
1 parent b3b7de9 commit da570a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/client.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' @export
datasource_client <- function(api_key = NULL, token_file = NULL) {
ds <- reticulate::import("domino_data.data_sources")
if (!is.null(api_key) | !is.null(token_file)) {
if (!is.null(api_key) || !is.null(token_file)) {
return(ds$DataSourceClient(api_key, token_file))
}
ds$DataSourceClient()
Expand Down

0 comments on commit da570a7

Please sign in to comment.