diff --git a/api/kiwi_vpn_api/routers/admin.py b/api/kiwi_vpn_api/routers/admin.py index 2230d7c..62dfc95 100644 --- a/api/kiwi_vpn_api/routers/admin.py +++ b/api/kiwi_vpn_api/routers/admin.py @@ -34,7 +34,7 @@ async def initial_configure( # create config file, connect to database config.save() - Connection.connect(current_config.db.uri) + Connection.connect(config.db.uri) @router.put(