Добавлен эндпоинт getPatFLG
All checks were successful
Build And Push / publish (push) Successful in 7m31s

This commit is contained in:
2025-09-30 11:20:11 +03:00
parent ce36e07266
commit 422adfd503
3 changed files with 40 additions and 5 deletions

View File

@ -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]