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

fix: adopted new log structure of SASJS server

This commit is contained in:
Saad Jutt
2022-02-20 20:50:38 +05:00
parent 2ea3925977
commit a6f6897543
2 changed files with 11 additions and 2 deletions

View File

@@ -52,9 +52,13 @@ export class SasJsJobExecutor extends BaseJobExecutor {
authConfig?.access_token
)
.then(async (res: any) => {
const parsedSasjsServerLog = res.result.log
.map((logLine: any) => logLine.line)
.join('\n')
const resObj = {
result: res.result._webout,
log: res.result.log
log: parsedSasjsServerLog
}
this.requestClient!.appendRequest(resObj, sasJob, config.debug)