Skip to content

Commit 6951bf3

Browse files
zhanweizhang7liuruibin
authored andcommitted
fix: Knowledge workflow debug no user id
1 parent d916d45 commit 6951bf3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/knowledge/serializers/knowledge_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ def action(self, instance: Dict, user, with_valid=True):
185185
"knowledge_action_id": knowledge_action_id,
186186
"stream": True,
187187
"workspace_id": self.data.get("workspace_id"),
188+
"user_id": str(user.id),
188189
**instance,
189190
},
190191
KnowledgeWorkflowPostHandler(None, knowledge_action_id),

0 commit comments

Comments
 (0)