Skip to content

Commit

Permalink
fix(webout): fixed adding empty webout to response payload
Browse files Browse the repository at this point in the history
  • Loading branch information
YuryShkoda committed May 2, 2023
1 parent eb42683 commit 31df72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/controllers/internal/Execution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class ExecutionController {

const resultParts = []

if (webout) resultParts.push(webout)
if (webout && webout.length !== 0) resultParts.push(webout)

resultParts.push(process.logsUUID)
resultParts.push(log)
Expand Down

0 comments on commit 31df72a

Please sign in to comment.