From 5f612ac573db661dd4df2676dca3d7d7d9d32fa2 Mon Sep 17 00:00:00 2001 From: bleeeana Date: Fri, 20 Dec 2024 03:59:48 +0300 Subject: [PATCH] space --- backend/app/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/main.py b/backend/app/main.py index 62f8846..929b84d 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -20,6 +20,7 @@ disconnect() connect(host=app.config['MONGO_URI']) + @app.before_first_request def check_collections(): client = MongoClient(app.config['MONGO_URI'])