Fixed reports response
This commit is contained in:
@@ -169,7 +169,7 @@ class FocusCompliance(Request):
|
||||
path=path
|
||||
)
|
||||
|
||||
return {'success': True, 'files': [result]}
|
||||
return {'success': True, 'file': result}
|
||||
|
||||
# Физлица
|
||||
def person_is_foreign_agent(self):
|
||||
@@ -223,7 +223,7 @@ class FocusCompliance(Request):
|
||||
path=path
|
||||
)
|
||||
|
||||
return {'success': True, 'files': [result]}
|
||||
return {'success': True, 'file': result}
|
||||
|
||||
# Иноагенты
|
||||
def get_foreign_agents_list(self, fa_type: str = None) -> list: # Не работает, если нет подключенной лицензии
|
||||
|
||||
Reference in New Issue
Block a user