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

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -22,7 +22,7 @@ def root():
22
  return {"title": "Echo Bot"}
23
 
24
  @app.post("/webhook")
25
- async def callback(
26
  request: Request,
27
  ):
28
  # get X-Line-Signature header value
 
22
  return {"title": "Echo Bot"}
23
 
24
  @app.post("/webhook")
25
+ async def webhook(
26
  request: Request,
27
  ):
28
  # get X-Line-Signature header value