Fix: link to KB from filemanager. (#6530)

### What problem does this PR solve?



### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu 2025-03-26 09:41:14 +08:00 committed by GitHub
parent d17970ebd0
commit c8c91fd827
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ def convert():
try:
files = FileService.get_by_ids(file_ids)
files_set = set([file.id for file in files])
files_set = dict({file.id: file for file in files})
for file_id in file_ids:
file = files_set[file_id]
if not file: