mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-05 03:30:05 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1aa92c0a69 | ||
|
|
4c097a69fd | ||
|
|
2634933e84 |
@@ -932,7 +932,10 @@ export class SASViyaApiClient {
|
|||||||
|
|
||||||
if (isRelativePath(sasJob)) {
|
if (isRelativePath(sasJob)) {
|
||||||
const folderName = sasJob.split('/')[0]
|
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}`)) {
|
if (!this.folderMap.get(`${this.rootFolderName}/${folderName}`)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
@@ -1029,7 +1032,10 @@ export class SASViyaApiClient {
|
|||||||
|
|
||||||
if (isRelativePath(sasJob)) {
|
if (isRelativePath(sasJob)) {
|
||||||
const folderName = sasJob.split('/')[0]
|
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}`)) {
|
if (!this.folderMap.get(`${this.rootFolderName}/${folderName}`)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
|
|||||||
Reference in New Issue
Block a user