Spaces:
Sleeping
Sleeping
alanchen1115
commited on
Update main.py
Browse files
main.py
CHANGED
@@ -33,7 +33,7 @@ def root():
|
|
33 |
return {"title": "Echo Bot"}
|
34 |
|
35 |
@app.post("/webhook")
|
36 |
-
async def webhook(request: Request
|
37 |
signature = request.headers['X-Line-Signature']
|
38 |
|
39 |
body = request.get_data(as_text=True)
|
|
|
33 |
return {"title": "Echo Bot"}
|
34 |
|
35 |
@app.post("/webhook")
|
36 |
+
async def webhook(request: Request):
|
37 |
signature = request.headers['X-Line-Signature']
|
38 |
|
39 |
body = request.get_data(as_text=True)
|