From ecafbbedd867c0b00cb100c3297c45d1e5fb7ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 7 Apr 2022 12:01:54 +0000 Subject: [PATCH] don't print users --- api/kiwi_vpn_api/main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/api/kiwi_vpn_api/main.py b/api/kiwi_vpn_api/main.py index c7307f1..fd61fa6 100755 --- a/api/kiwi_vpn_api/main.py +++ b/api/kiwi_vpn_api/main.py @@ -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(