From 81d959c7c1033255ce14e3011e3f91a903e387b7 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Thu, 18 Nov 2021 19:56:12 +0000 Subject: [PATCH] fix: parsing _webout from response regardless of debug status --- src/job-execution/WebJobExecutor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/job-execution/WebJobExecutor.ts b/src/job-execution/WebJobExecutor.ts index 7be52f1..2422970 100644 --- a/src/job-execution/WebJobExecutor.ts +++ b/src/job-execution/WebJobExecutor.ts @@ -158,7 +158,7 @@ export class WebJobExecutor extends BaseJobExecutor { this.requestClient!.appendRequest(res, sasJob, config.debug) } - if (this.serverType === ServerType.Sasjs && !config.debug) { + if (this.serverType === ServerType.Sasjs) { jsonResponse = JSON.parse(jsonResponse._webout) }