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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user