1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-08 13:00:05 +00:00

fix(*): pass in authConfig in place of accessToken

This commit is contained in:
Krishna Acondy
2021-06-22 07:38:12 +01:00
parent b18b471549
commit 8beda1ad6c
5 changed files with 15 additions and 21 deletions

View File

@@ -584,7 +584,7 @@ export default class SASjs {
data: { [key: string]: any } | null,
config: { [key: string]: any } = {},
loginRequiredCallback?: () => any,
accessToken?: string,
authConfig?: AuthConfig,
extraResponseAttributes: ExtraResponseAttributes[] = []
) {
config = {
@@ -602,7 +602,7 @@ export default class SASjs {
data,
config,
loginRequiredCallback,
accessToken
authConfig
)
} else {
return await this.jesJobExecutor!.execute(
@@ -610,7 +610,7 @@ export default class SASjs {
data,
config,
loginRequiredCallback,
accessToken,
authConfig,
extraResponseAttributes
)
}
@@ -626,7 +626,7 @@ export default class SASjs {
data,
config,
loginRequiredCallback,
accessToken,
authConfig,
extraResponseAttributes
)
}