Fixed reports response
This commit is contained in:
@@ -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: # Не работает, если нет подключенной лицензии
|
||||||
|
|||||||
Reference in New Issue
Block a user