alanchen1115 commited on
Commit
68b8cb5
·
verified ·
1 Parent(s): 1e56434

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -21,7 +21,7 @@ line_handler = WebhookHandler("7b9984bbc5c62445a79b95b15e34b727")
21
  def root():
22
  return {"title": "Echo Bot"}
23
 
24
- @app.post("/callback")
25
  async def callback(
26
  request: Request,
27
  ):
 
21
  def root():
22
  return {"title": "Echo Bot"}
23
 
24
+ @app.post("/webhook")
25
  async def callback(
26
  request: Request,
27
  ):