fix code response
This commit is contained in:
parent
c1d7c08c7a
commit
9bffb9ffc0
@ -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');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user