1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-09 23:40:06 +00:00

fix: sending _webout as result object in response JSON

This commit is contained in:
Allan Bowe
2021-11-18 20:57:56 +00:00
parent d2955645f0
commit b97523e555
4 changed files with 8 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ export class ExecutionController {
program = `
/* runtime vars */
${varStatments}
filename _webout "${weboutPath}";
filename _webout "${weboutPath}" mod;
/* dynamic user-provided vars */
${preProgramVarStatments}
@@ -111,7 +111,7 @@ ${program}`
if (returnJson) {
const response: any = {
result: webout
webout: webout
}
if ((debugValue && debugValue >= 131) || session.crashed) {
response.log = log