get current user from mongo
This commit is contained in:
@@ -6,7 +6,7 @@ from typing import Annotated
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
@router.get("/users/", tags=["users"], response_model=list[users.UserOut])
|
||||
@router.get("/users", tags=["users"], response_model=list[users.UserOut])
|
||||
async def read_users(authorize: Annotated[bool, Depends(permissions_checker.PermissionChecker(roles=["Admin"]))]):
|
||||
listUsers = []
|
||||
for fake in users_active.fake_users:
|
||||
|
Reference in New Issue
Block a user