fixed user route registration

This commit is contained in:
Lucas Jensen
2024-05-03 13:46:01 -07:00
parent 5bb28ed923
commit 971073c19f
2 changed files with 2 additions and 9 deletions

View File

@@ -12,15 +12,6 @@ router = APIRouter(
)
"""
Note: this router is not currently registered in the main FastAPI app.
This is to facilitate not exposing the user routes to the public API,
but this may change in a future version.
The file remains to ease the future addition of user routes.
"""
@router.get("/", status_code=status.HTTP_200_OK)
async def get_users() -> list[User]:
return await controller.get_users()