ketannnn commited on
Commit
6ca6336
·
1 Parent(s): 022fb5a

feat: add admin endpoint to reset Postgres schema and Qdrant collection via Alembic migrations

Browse files
Files changed (1) hide show
  1. backend/src/routers/admin.py +1 -1
backend/src/routers/admin.py CHANGED
@@ -14,7 +14,7 @@ router = APIRouter()
14
 
15
  @router.post("/reset-db")
16
  async def reset_db(password: str = None):
17
- if password != "ketan@D048":
18
  raise HTTPException(status_code=403, detail="Invalid reset password.")
19
 
20
  settings = get_settings()
 
14
 
15
  @router.post("/reset-db")
16
  async def reset_db(password: str = None):
17
+ if password != "ketanD048":
18
  raise HTTPException(status_code=403, detail="Invalid reset password.")
19
 
20
  settings = get_settings()