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

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -270,7 +270,7 @@ def generate_otp(length=6):
270
  return otp
271
 
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):
 
270
  return otp
271
 
272
  class OTPCallbackPayload(BaseModel):
273
+ user_id: int
274
 
275
  @app.get("/api/get-verify", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
276
  def get_verify_otp(user_id: int):