rairo commited on
Commit
ac74ebd
·
verified ·
1 Parent(s): 8f5bb15

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -72,6 +72,7 @@ def verify_admin(auth_header):
72
  return uid
73
 
74
  # ---------- Dummy Admin Creation on Startup ----------
 
75
  def create_dummy_admin():
76
  try:
77
  # Try to get the user if it exists
@@ -90,7 +91,7 @@ def create_dummy_admin():
90
  'created_at': datetime.utcnow().isoformat()
91
  })
92
  print(f"Dummy admin ready: {admin_email}")
93
-
94
  # ---------- Authentication Endpoints ----------
95
 
96
  @app.route('/api/auth/signup', methods=['POST'])
 
72
  return uid
73
 
74
  # ---------- Dummy Admin Creation on Startup ----------
75
+ """
76
  def create_dummy_admin():
77
  try:
78
  # Try to get the user if it exists
 
91
  'created_at': datetime.utcnow().isoformat()
92
  })
93
  print(f"Dummy admin ready: {admin_email}")
94
+ """
95
  # ---------- Authentication Endpoints ----------
96
 
97
  @app.route('/api/auth/signup', methods=['POST'])