don't print users

This commit is contained in:
Jörn-Michael Miehe 2022-04-07 12:01:54 +00:00
parent fa4c2e45ab
commit ecafbbedd8

View file

@ -13,7 +13,7 @@ import uvicorn
from fastapi import FastAPI
from .config import SETTINGS, Config
from .db import Connection, User
from .db import Connection
from .routers import main_router
app = FastAPI(
@ -42,10 +42,6 @@ async def on_startup() -> None:
# connect to database
Connection.connect(current_config.db.uri)
# some testing
print(User.get("admin"))
print(User.get("nonexistent"))
def main() -> None:
uvicorn.run(