mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-03 18:50:05 +00:00
fix: accessToken not passed in function calls
This commit is contained in:
@@ -932,7 +932,7 @@ export class SASViyaApiClient {
|
||||
|
||||
if (isRelativePath(sasJob)) {
|
||||
const folderName = sasJob.split('/')[0]
|
||||
await this.populateFolderMap(`${this.rootFolderName}/${folderName}`)
|
||||
await this.populateFolderMap(`${this.rootFolderName}/${folderName}`, accessToken)
|
||||
|
||||
if (!this.folderMap.get(`${this.rootFolderName}/${folderName}`)) {
|
||||
throw new Error(
|
||||
@@ -1029,7 +1029,7 @@ export class SASViyaApiClient {
|
||||
|
||||
if (isRelativePath(sasJob)) {
|
||||
const folderName = sasJob.split('/')[0]
|
||||
await this.populateFolderMap(`${this.rootFolderName}/${folderName}`)
|
||||
await this.populateFolderMap(`${this.rootFolderName}/${folderName}`, accessToken)
|
||||
|
||||
if (!this.folderMap.get(`${this.rootFolderName}/${folderName}`)) {
|
||||
throw new Error(
|
||||
|
||||
Reference in New Issue
Block a user