mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Fix everything
This commit is contained in:
@@ -35,4 +35,4 @@ def get_current_user(
|
||||
detail="User not found",
|
||||
headers={"WWW-Authenticate": "Bearer"},
|
||||
)
|
||||
return {"user_id": user.id, "username": user.username}
|
||||
return user
|
||||
Reference in New Issue
Block a user