Update modules/database.py
Browse files- modules/database.py +1 -1
modules/database.py
CHANGED
@@ -53,7 +53,7 @@ def initialize_cosmos_sql_connection():
|
|
53 |
|
54 |
############################################################################################3
|
55 |
def initialize_mongodb_connection():
|
56 |
-
global mongo_client, mongo_db, analysis_collection
|
57 |
try:
|
58 |
cosmos_mongodb_connection_string = os.getenv("MONGODB_CONNECTION_STRING")
|
59 |
if not cosmos_mongodb_connection_string:
|
|
|
53 |
|
54 |
############################################################################################3
|
55 |
def initialize_mongodb_connection():
|
56 |
+
global mongo_client, mongo_db, analysis_collection, chat_collection
|
57 |
try:
|
58 |
cosmos_mongodb_connection_string = os.getenv("MONGODB_CONNECTION_STRING")
|
59 |
if not cosmos_mongodb_connection_string:
|