This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user