formatting
This commit is contained in:
parent
36ae851a8d
commit
c2df13bf24
|
@ -32,7 +32,11 @@ async def api_usermanager_users(
|
|||
return [user.dict() for user in await get_usermanager_users(user_id)]
|
||||
|
||||
|
||||
@usermanager_ext.get("/api/v1/users/{user_id}", status_code=HTTPStatus.OK, dependencies=[Depends(get_key_type)])
|
||||
@usermanager_ext.get(
|
||||
"/api/v1/users/{user_id}",
|
||||
status_code=HTTPStatus.OK,
|
||||
dependencies=[Depends(get_key_type)],
|
||||
)
|
||||
async def api_usermanager_user(user_id):
|
||||
user = await get_usermanager_user(user_id)
|
||||
return user.dict() if user else None
|
||||
|
|
Loading…
Reference in New Issue
Block a user