hamza82 commited on
Commit
33d444e
·
verified ·
1 Parent(s): b69a31a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def read_root():
54
  return FileResponse('static/index.html')
55
 
56
  @app.get("/custom-auth")
57
- async def custom_auth():
58
  # Verify the user's identity with custom logic.
59
  token = create_jwt(cl.User(identifier="Test User"))
60
  logger.info("Custom auth token generated.")
 
54
  return FileResponse('static/index.html')
55
 
56
  @app.get("/custom-auth")
57
+ def custom_auth():
58
  # Verify the user's identity with custom logic.
59
  token = create_jwt(cl.User(identifier="Test User"))
60
  logger.info("Custom auth token generated.")