Добавлен эндпоинт getELNs
This commit is contained in:
@ -154,6 +154,14 @@ async def get_diagnostic_results():
|
||||
)
|
||||
|
||||
|
||||
@router.get('/getELNs')
|
||||
async def get_eln():
|
||||
"""
|
||||
Get list of ELNs.
|
||||
"""
|
||||
return await c.vitacore_api.getELNs('d4493f1c-fcbb-4242-99e6-32328bed53b9')
|
||||
|
||||
|
||||
@router.post('/measurement', status_code=status.HTTP_202_ACCEPTED)
|
||||
async def measurement(
|
||||
user: Annotated[str, Depends(login)],
|
||||
@ -218,11 +226,6 @@ async def find_pat(user: Annotated[str, Depends(login)]):
|
||||
return mock.findpat[0]
|
||||
|
||||
|
||||
@router.get('/getELNS')
|
||||
async def get_elns(user: Annotated[str, Depends(login)]):
|
||||
return mock.elns[0]
|
||||
|
||||
|
||||
@router.get('/getPatFLG')
|
||||
async def get_pat_flg(user: Annotated[str, Depends(login)]):
|
||||
return mock.patFLG[0]
|
||||
|
||||
Reference in New Issue
Block a user