Добавлен эндпоинт getPatFLG
All checks were successful
Build And Push / publish (push) Successful in 7m31s
All checks were successful
Build And Push / publish (push) Successful in 7m31s
This commit is contained in:
@ -162,6 +162,16 @@ async def get_eln():
|
||||
return await c.vitacore_api.getELNs('d4493f1c-fcbb-4242-99e6-32328bed53b9')
|
||||
|
||||
|
||||
@router.get('/getPatFLG')
|
||||
async def get_pat_flg():
|
||||
"""
|
||||
Get list of ELNs.
|
||||
"""
|
||||
return await c.vitacore_api.getPatFLG(
|
||||
'0bf2e271-e565-42a8-924e-0017bcdedecd'
|
||||
)
|
||||
|
||||
|
||||
@router.post('/measurement', status_code=status.HTTP_202_ACCEPTED)
|
||||
async def measurement(
|
||||
user: Annotated[str, Depends(login)],
|
||||
@ -224,8 +234,3 @@ async def queue(user: Annotated[bool, Depends(login)]):
|
||||
@router.get('/findPat')
|
||||
async def find_pat(user: Annotated[str, Depends(login)]):
|
||||
return mock.findpat[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