1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 12:30:06 +00:00

fix: csrf token fetch and empty webout promise finish

This commit is contained in:
2022-05-20 16:43:46 +02:00
parent ae13ca523c
commit 6d47174a5e
3 changed files with 38 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ export class WebJobExecutor extends BaseJobExecutor {
const resObj = res
if (this.serverType === ServerType.Sasjs) {
if (res.result._webout < 1)
if (res.result._webout.length < 1)
throw new JobExecutionError(
0,
'Job execution failed',