1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 09:24:35 +00:00

chore(*): remove unused variables

This commit is contained in:
Krishna Acondy
2021-06-29 10:23:35 +01:00
parent aaf0eef62b
commit f9e79fb756

View File

@@ -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.'