We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 927b12a commit c0ea174Copy full SHA for c0ea174
apps/knowledge/serializers/knowledge.py
@@ -290,6 +290,10 @@ def edit(self, instance: Dict):
290
knowledge.desc = instance.get("desc")
291
if 'meta' in instance:
292
knowledge.meta = instance.get('meta')
293
+ if 'file_size_limit' in instance:
294
+ knowledge.file_size_limit = instance.get('file_size_limit')
295
+ if 'file_count_limit' in instance:
296
+ knowledge.file_count_limit = instance.get('file_count_limit')
297
if 'application_id_list' in instance and instance.get('application_id_list') is not None:
298
application_id_list = instance.get('application_id_list')
299
# 当前用户可修改关联的知识库列表
0 commit comments