randydev commited on
Commit
913fd06
1 Parent(s): b3d691a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -272,7 +272,7 @@ def generate_otp(length=6):
272
  class OTPCallbackPayload(BaseModel):
273
  user_id: str
274
 
275
- @app.get("/api/verify", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
276
  def get_verify_otp(user_id: int):
277
  try:
278
  get_otp_code = get_verify_otp(user_id)
 
272
  class OTPCallbackPayload(BaseModel):
273
  user_id: str
274
 
275
+ @app.get("/api/get-verify", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
276
  def get_verify_otp(user_id: int):
277
  try:
278
  get_otp_code = get_verify_otp(user_id)