Skip to content

Commit 30b4b4b

Browse files
committed
fix: Document tag search
1 parent c2dc54c commit 30b4b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/step_node/search_document_node/impl/base_search_document_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def execute(self, knowledge_id_list: List, search_mode: str, search_scope_type:
5959
)
6060
authorized_knowledge_ids = get_knowledge_list_of_authorized(
6161
self.workflow_manage.get_body().get('chat_user_id'),
62-
actual_knowledge_ids
62+
[str(k_id) for k_id in actual_knowledge_ids]
6363
)
6464
document_id_list = QuerySet(Document).filter(
6565
id__in=document_id_list,

0 commit comments

Comments
 (0)