Skip to content

Commit ffb2b83

Browse files
committed
fix: Get workspace_id from workflow params
1 parent b2ad983 commit ffb2b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/step_node/knowledge_write_node/impl/base_knowledge_write_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def save(self, document_list):
146146
document_list = serializer.data
147147

148148
knowledge_id = self.workflow_params.get("knowledge_id")
149-
workspace_id = "default"
149+
workspace_id = self.workflow_params.get("workspace_id")
150150

151151
document_model_list = []
152152
paragraph_model_list = []

0 commit comments

Comments
 (0)