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

This commit is contained in:
2025-10-02 10:53:27 +03:00
parent c78da4c979
commit b16e077c1c
2 changed files with 9 additions and 3 deletions

View File

@ -123,7 +123,7 @@ class VITACORE_API(AsyncClient):
match req.status_code:
case st.HTTP_200_OK:
return s.HospitalizationsModel.model_validate(req.json())
return s.CurHospitalizationsModel.model_validate(req.json())
case _:
self.logger.error(req.json())
raise e.UnknownException