1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-09 05:20:05 +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, printPid = false,
variables?: MacroVar variables?: MacroVar
) { ) {
let { access_token, refresh_token, client, secret } = authConfig || {} let { access_token } = authConfig || {}
if (isRelativePath(sasJob) && !this.rootFolderName) { if (isRelativePath(sasJob) && !this.rootFolderName) {
throw new Error( throw new Error(
@@ -985,7 +985,7 @@ export class SASViyaApiClient {
data?: any, data?: any,
authConfig?: AuthConfig authConfig?: AuthConfig
) { ) {
let { access_token, refresh_token, client, secret } = authConfig || {} let { access_token } = authConfig || {}
if (isRelativePath(sasJob) && !this.rootFolderName) { if (isRelativePath(sasJob) && !this.rootFolderName) {
throw new Error( throw new Error(
'Relative paths cannot be used without specifying a root folder name.' 'Relative paths cannot be used without specifying a root folder name.'