enhance: code return tyoe

This commit is contained in:
Yeuoly 2024-03-20 16:54:32 +08:00
parent 0d2a90adf3
commit de6cbc36bb
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class CodeNode(BaseNode):
"code": JAVASCRIPT_DEFAULT_CODE,
"outputs": {
"result": {
"type": "number",
"type": "string",
"children": None
}
}
@ -79,7 +79,7 @@ class CodeNode(BaseNode):
"code": PYTHON_DEFAULT_CODE,
"outputs": {
"result": {
"type": "number",
"type": "string",
"children": None
}
}