dtyago commited on
Commit
4387612
·
1 Parent(s): 0b77457

Simplify admin function

Browse files
Files changed (1) hide show
  1. app/admin/admin_functions.py +1 -1
app/admin/admin_functions.py CHANGED
@@ -1,7 +1,7 @@
1
  from fastapi import HTTPException, UploadFile, File, Form
2
  from typing import Optional
3
  import bcrypt
4
- from .database import db # Assuming you have a database module for interacting with ChromaDB
5
 
6
  # Admin Authentication
7
  def verify_admin_password(submitted_password: str, stored_password_hash: str) -> bool:
 
1
  from fastapi import HTTPException, UploadFile, File, Form
2
  from typing import Optional
3
  import bcrypt
4
+
5
 
6
  # Admin Authentication
7
  def verify_admin_password(submitted_password: str, stored_password_hash: str) -> bool: