From c2ca1b28433f8704bc927b53081eebd45b4d5bb4 Mon Sep 17 00:00:00 2001 From: Hong Ooi Date: Tue, 5 Oct 2021 10:14:55 +1100 Subject: [PATCH] pass version arg to AzureAuth --- R/kusto_token.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/kusto_token.R b/R/kusto_token.R index 234f67e..3447e08 100644 --- a/R/kusto_token.R +++ b/R/kusto_token.R @@ -59,7 +59,7 @@ get_kusto_token <- function(server=NULL, clustername, location=NULL, tenant=NULL if(is.null(auth_type) && app == .kusto_app_id && (!"username" %in% names(list(...)))) auth_type <- "device_code" - AzureAuth::get_azure_token(server, tenant, app, auth_type=auth_type, ...) + AzureAuth::get_azure_token(server, tenant, app, auth_type=auth_type, version=version, ...) } @@ -90,7 +90,7 @@ delete_kusto_token <- function(server=NULL, clustername, location=NULL, tenant=N if(is.null(auth_type) && app == .kusto_app_id && (!"username" %in% names(list(...)))) auth_type <- "device_code" - AzureAuth::delete_azure_token(server, tenant, app, auth_type=auth_type, confirm=confirm, ...) + AzureAuth::delete_azure_token(server, tenant, app, auth_type=auth_type, version=version, confirm=confirm, ...) }