mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-07 12:30:06 +00:00
fix(config): set debug to false by default
feat(create-job): add the ability to wait for result
This commit is contained in:
@@ -581,6 +581,8 @@ export class SASViyaApiClient {
|
||||
|
||||
if (expectWebout) {
|
||||
resultLink = `/compute/sessions/${executionSessionId}/filerefs/_webout/content`
|
||||
} else {
|
||||
return currentJob;
|
||||
}
|
||||
|
||||
if (resultLink) {
|
||||
@@ -953,7 +955,8 @@ export class SASViyaApiClient {
|
||||
contextName: string,
|
||||
data?: any,
|
||||
accessToken?: string,
|
||||
waitForResult = true
|
||||
waitForResult = true,
|
||||
expectWebout = false
|
||||
) {
|
||||
if (isRelativePath(sasJob) && !this.rootFolderName) {
|
||||
throw new Error(
|
||||
@@ -1034,7 +1037,7 @@ export class SASViyaApiClient {
|
||||
contextName,
|
||||
accessToken,
|
||||
data,
|
||||
true,
|
||||
expectWebout,
|
||||
waitForResult
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user