Патч
All checks were successful
Build And Push / publish (push) Successful in 1m19s

This commit is contained in:
2025-12-04 09:21:59 +03:00
parent 4016c4fa5d
commit defebaaa4f

View File

@ -339,9 +339,6 @@ class VITACORE_API(AsyncClient):
return s.CurHospitalizationsModel.model_validate(req.json())
case st.HTTP_206_PARTIAL_CONTENT:
error = s.ErrorModel.model_validate(req.json())
if error.error == 'Пациент не госпитализирован!':
return s.CurHospitalizationsModel(
Hospitalizations=[],
)