1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-15 16:10:06 +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 await this.requestClient
.post('SASjsApi/code/execute', { code, runTime }, access_token) .post('SASjsApi/code/execute', { code, runTime }, access_token)
.then((res: any) => { .then((res: any) => {
if (res.log) { if (res.log) parsedSasjsServerLog = res.log
parsedSasjsServerLog = res.log.split(SASJS_LOGS_SEPARATOR)[1]
}
}) })
.catch((err) => { .catch((err) => {
parsedSasjsServerLog = err parsedSasjsServerLog = err