1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-04 11:10:05 +00:00

chore: quick fix

This commit is contained in:
2022-08-23 15:56:13 +05:00
parent c551cd0311
commit 3d8eb762d0

View File

@@ -86,9 +86,7 @@ export class SASjsApiClient {
await this.requestClient
.post('SASjsApi/code/execute', { code, runTime }, access_token)
.then((res: any) => {
if (res.log) {
parsedSasjsServerLog = res.log.split(SASJS_LOGS_SEPARATOR)[1]
}
if (res.log) parsedSasjsServerLog = res.log
})
.catch((err) => {
parsedSasjsServerLog = err