Gregniuki commited on
Commit
de07443
1 Parent(s): 826bfef

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -215,7 +215,7 @@ async def registration_successful(request: Request):
215
  return templates.TemplateResponse("registration_successful.html", {"request": request})
216
 
217
 
218
- @app.get("/verify/{verification_token}", response_class=HTMLResponse)
219
  async def verify_email(verification_token: str, db: Session = Depends(get_db)):
220
  user = get_user_by_verification_token(db, verification_token)
221
  if not user:
 
215
  return templates.TemplateResponse("registration_successful.html", {"request": request})
216
 
217
 
218
+ @app.get("/verify", response_class=HTMLResponse)
219
  async def verify_email(verification_token: str, db: Session = Depends(get_db)):
220
  user = get_user_by_verification_token(db, verification_token)
221
  if not user: