Skip to content

Commit db8fc42

Browse files
fix: The schema field was missed in the Assistant's AES encryption process
1 parent 35b8a83 commit db8fc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/system/crud/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def convert2schema(self, ds_dict: dict, config: dict[any]) -> AssistantOutDsSche
180180
if config.get('encrypt', False):
181181
key = config.get('aes_key', None)
182182
iv = config.get('aes_iv', None)
183-
aes_attrs = ['host', 'user', 'password', 'dataBase', 'db_schema']
183+
aes_attrs = ['host', 'user', 'password', 'dataBase', 'db_schema', 'schema']
184184
for attr in aes_attrs:
185185
if attr in ds_dict and ds_dict[attr]:
186186
try:

0 commit comments

Comments
 (0)