diff --git a/routers/usermanage.py b/routers/usermanage.py index d3eec96..595bdba 100644 --- a/routers/usermanage.py +++ b/routers/usermanage.py @@ -61,6 +61,6 @@ async def register_user(user: UserInDB, _: User = Depends(get_current_active_use return {"status": status.HTTP_200_OK, "message": "users create successfully!"} -@router.get("/me/items/") -async def read_own_items(current_user: User = Depends(get_current_active_user)): - return [{"item_id": "Foo", "owner": current_user.username}] +# @router.get("/me/items/") +# async def read_own_items(current_user: User = Depends(get_current_active_user)): +# return [{"item_id": "Foo", "owner": current_user.username}]