upd
This commit is contained in:
@ -86,6 +86,13 @@ async def get_anon_user(
|
||||
return anon_user
|
||||
|
||||
|
||||
@router.patch("/anon")
|
||||
async def get_anon_user(
|
||||
anon_user: Annotated[schemas.AnonUser, Depends(services.patch_anon_name)]
|
||||
) -> schemas.AnonUser:
|
||||
return anon_user
|
||||
|
||||
|
||||
@router.get(
|
||||
"/captcha/{captcha_id}",
|
||||
responses={200: {"content": {"image/png": {}}}},
|
||||
|
||||
Reference in New Issue
Block a user