fix code response

This commit is contained in:
Archer 2024-06-01 18:14:14 +08:00 committed by GitHub
parent c1d7c08c7a
commit 9bffb9ffc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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');