diff --git a/apps/authentication/webapi/providers/database.py b/apps/authentication/webapi/providers/database.py index 334279a..aaf1cca 100644 --- a/apps/authentication/webapi/providers/database.py +++ b/apps/authentication/webapi/providers/database.py @@ -21,7 +21,7 @@ def register(app): # Configure logging for pymongo logging.getLogger("pymongo").setLevel(logging.WARNING) # Suppress DEBUG logs - # @app.on_event("startup") + @app.on_event("startup") async def start_database(): await initiate_database()