From f9e79fb756b1da8c095131d8167442bb907cc4cd Mon Sep 17 00:00:00 2001 From: Krishna Acondy Date: Tue, 29 Jun 2021 10:23:35 +0100 Subject: [PATCH] chore(*): remove unused variables --- src/SASViyaApiClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SASViyaApiClient.ts b/src/SASViyaApiClient.ts index 1690fa4..6f1a972 100644 --- a/src/SASViyaApiClient.ts +++ b/src/SASViyaApiClient.ts @@ -886,7 +886,7 @@ export class SASViyaApiClient { printPid = false, variables?: MacroVar ) { - let { access_token, refresh_token, client, secret } = authConfig || {} + let { access_token } = authConfig || {} if (isRelativePath(sasJob) && !this.rootFolderName) { throw new Error( @@ -985,7 +985,7 @@ export class SASViyaApiClient { data?: any, authConfig?: AuthConfig ) { - let { access_token, refresh_token, client, secret } = authConfig || {} + let { access_token } = authConfig || {} if (isRelativePath(sasJob) && !this.rootFolderName) { throw new Error( 'Relative paths cannot be used without specifying a root folder name.'