From 679e9de245230b38e4ad52251793b9f65e2eb71b Mon Sep 17 00:00:00 2001 From: Saad Jutt Date: Wed, 29 Dec 2021 00:27:54 +0500 Subject: [PATCH] chore: return webout and log seperately --- api/src/controllers/code.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/src/controllers/code.ts b/api/src/controllers/code.ts index 6aa8c17..52e3266 100644 --- a/api/src/controllers/code.ts +++ b/api/src/controllers/code.ts @@ -33,7 +33,9 @@ const executeSASCode = async (req: any, { code }: ExecuteSASCodePayload) => { const result = await new ExecutionController().executeProgram( code, getPreProgramVariables(req), - { ...req.query, _debug: 131 } + { ...req.query, _debug: 131 }, + undefined, + true ) return result as string