Commit 9bffb9ff by Archer Committed by GitHub

fix code response

parent c1d7c08c
...@@ -42,7 +42,7 @@ export const dispatchRunCode = async (props: RunCodeType): Promise<RunCodeRespon ...@@ -42,7 +42,7 @@ export const dispatchRunCode = async (props: RunCodeType): Promise<RunCodeRespon
customOutputs: runResult.data.codeReturn, customOutputs: runResult.data.codeReturn,
codeLog: runResult.data.log codeLog: runResult.data.log
}, },
...runResult.data ...runResult.data.codeReturn
}; };
} else { } else {
throw new Error('Run code failed'); throw new Error('Run code failed');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment