mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix code response
This commit is contained in:
@@ -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');
|
||||||
|
Reference in New Issue
Block a user