mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
fix: During the conversation, there is sensitive data in the application profile obtained by the application (#3018)
This commit is contained in:
parent
b37cc3ba1c
commit
59ee0c1270
|
|
@ -1012,7 +1012,8 @@ class ApplicationSerializer(serializers.Serializer):
|
|||
'stt_autosend': application.stt_autosend,
|
||||
'file_upload_enable': application.file_upload_enable,
|
||||
'file_upload_setting': application.file_upload_setting,
|
||||
'work_flow': application.work_flow,
|
||||
'work_flow': {'nodes': [node for node in application.work_flow.get('nodes') if
|
||||
node.get('id') == 'base-node']},
|
||||
'show_source': application_access_token.show_source,
|
||||
'language': application_access_token.language,
|
||||
**application_setting_dict})
|
||||
|
|
|
|||
Loading…
Reference in New Issue