Fixed reports response

This commit is contained in:
2025-11-07 12:54:51 +03:00
parent de881f4d15
commit 68921de31f

View File

@@ -169,7 +169,7 @@ class FocusCompliance(Request):
path=path path=path
) )
return {'success': True, 'files': [result]} return {'success': True, 'file': result}
# Физлица # Физлица
def person_is_foreign_agent(self): def person_is_foreign_agent(self):
@@ -223,7 +223,7 @@ class FocusCompliance(Request):
path=path path=path
) )
return {'success': True, 'files': [result]} return {'success': True, 'file': result}
# Иноагенты # Иноагенты
def get_foreign_agents_list(self, fa_type: str = None) -> list: # Не работает, если нет подключенной лицензии def get_foreign_agents_list(self, fa_type: str = None) -> list: # Не работает, если нет подключенной лицензии