Добавлен эндпоинт getHospRecommendations
This commit is contained in:
@ -124,6 +124,16 @@ async def get_hosps():
|
||||
)
|
||||
|
||||
|
||||
@router.get('/getHospRecommendations')
|
||||
async def get_hosp_recommendations():
|
||||
"""
|
||||
Get list of recommended hospitals.
|
||||
"""
|
||||
return await c.vitacore_api.getHospRecommendations(
|
||||
'b708e782-4f83-4f3b-8639-512c0c9637bf'
|
||||
)
|
||||
|
||||
|
||||
@router.post('/measurement', status_code=status.HTTP_202_ACCEPTED)
|
||||
async def measurement(
|
||||
user: Annotated[str, Depends(login)],
|
||||
@ -203,11 +213,6 @@ async def get_pat_flg(user: Annotated[str, Depends(login)]):
|
||||
return mock.patFLG[0]
|
||||
|
||||
|
||||
@router.get('/getHospRecommendations')
|
||||
async def get_hosp_recommendations(user: Annotated[str, Depends(login)]):
|
||||
return mock.hospRecommendations
|
||||
|
||||
|
||||
@router.get('/getHospRoutes')
|
||||
async def get_hosp_routes(user: Annotated[str, Depends(login)]):
|
||||
return mock.hospRoutes
|
||||
|
||||
Reference in New Issue
Block a user