This commit is contained in:
@ -28,10 +28,7 @@ async def get_profile(user: Annotated[User, Depends(login)]):
|
|||||||
return await c.vitacore_api.getProfile(user.vita_id)
|
return await c.vitacore_api.getProfile(user.vita_id)
|
||||||
|
|
||||||
|
|
||||||
@router.get(
|
@router.get('/getDepartments', response_model=list[s.OrganizationsModel])
|
||||||
'/getDepartments',
|
|
||||||
response_model=list[s.OrganizationsModel]
|
|
||||||
)
|
|
||||||
async def get_departments():
|
async def get_departments():
|
||||||
"""
|
"""
|
||||||
Get list of departments.
|
Get list of departments.
|
||||||
|
|||||||
Reference in New Issue
Block a user