From 7f0a3a89f53675b7158313b99cb96b80793d04ce Mon Sep 17 00:00:00 2001 From: Aleeeehh Date: Sat, 2 Aug 2025 04:21:13 +0200 Subject: [PATCH] add admine password to mongo --- backend/endpoints/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/endpoints/queue.py b/backend/endpoints/queue.py index 2eb6e34..7dc5e17 100644 --- a/backend/endpoints/queue.py +++ b/backend/endpoints/queue.py @@ -9,7 +9,7 @@ from typing import Optional queue_router = APIRouter(prefix="/queue") # Connessione MongoDB -client = MongoClient("mongodb://localhost:27017/") +client = MongoClient("mongodb://admin:password@localhost:27017/") db = client["simple_db"] queue_collection = db["queue"]