mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 20:09:25 +00:00
fix: reading user id issue
This commit is contained in:
parent
db45d8ef31
commit
aa8abe8d6f
1 changed files with 0 additions and 3 deletions
|
|
@ -392,9 +392,6 @@ async def read_user_by_id(
|
|||
detail="User does not exist",
|
||||
)
|
||||
|
||||
# RBAC check
|
||||
await rbac_check(request, current_user, "read", user.user_uuid, db_session)
|
||||
|
||||
user = UserRead.model_validate(user)
|
||||
|
||||
return user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue