This commit is contained in:
Artem Kokos
2026-03-28 21:31:45 +07:00
parent b84fac66e8
commit c793b73fa2
3 changed files with 19 additions and 9 deletions

View File

@@ -64,7 +64,7 @@ async def read_index():
@app.get("/auth/me")
async def auth_me(auth = Depends(verify_token)):
async def auth_me(auth=Depends(verify_token)):
return {"is_admin": auth.is_admin, "name": auth.key_name}