LogicGoInfotechSpaces commited on
Commit
fe9114e
·
verified ·
1 Parent(s): ea89b2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -286,7 +286,7 @@ def get_admin_db(appname: Optional[str]):
286
  raise RuntimeError("AI_ENHANCER_DB_URL not set")
287
 
288
  client = MongoClient(enhancer_uri)
289
- db = client["adminPanel"]
290
  return db.categories, db.media_clicks
291
 
292
  # DEFAULT (existing behavior)
 
286
  raise RuntimeError("AI_ENHANCER_DB_URL not set")
287
 
288
  client = MongoClient(enhancer_uri)
289
+ db = client["test"]
290
  return db.categories, db.media_clicks
291
 
292
  # DEFAULT (existing behavior)