Фиксы
All checks were successful
Build And Push / publish (push) Successful in 2m25s

This commit is contained in:
2025-10-02 08:55:24 +03:00
parent 1a7bd7120a
commit a34deaedb3
2 changed files with 20 additions and 13 deletions

View File

@ -32,9 +32,7 @@ class VITACORE_API(AsyncClient):
match req.status_code:
case st.HTTP_200_OK:
return [
s.DepartmentModel.model_validate(i) for i in req.json()
]
return s.OrganizationsModel.model_validate(req.json())
case _:
self.logger.error(req.json())
raise e.UnknownException