Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -270,7 +270,7 @@ def generate_otp(length=6):
|
|
270 |
return otp
|
271 |
|
272 |
class OTPCallbackPayload(BaseModel):
|
273 |
-
user_id:
|
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):
|