narendrasinghd commited on
Commit
cad13ad
·
verified ·
1 Parent(s): 6978a3d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ class Payload(BaseModel):
82
  agent_action_id: str
83
  agent_action: AgentAction
84
 
85
- @app.get('/generate_otp')
86
  async def generate_otp(payload: Payload, token: str = Depends(verify_token)):
87
  otp = random.randint(10000, 99999)
88
 
 
82
  agent_action_id: str
83
  agent_action: AgentAction
84
 
85
+ @app.post('/generate_otp')
86
  async def generate_otp(payload: Payload, token: str = Depends(verify_token)):
87
  otp = random.randint(10000, 99999)
88