Spaces:
Running
on
Zero
Running
on
Zero
ふぁd
Browse files- mysite/asgi.py +1 -1
mysite/asgi.py
CHANGED
@@ -628,7 +628,7 @@ CHANNEL_ID = os.getenv('CHANNEL_ID')
|
|
628 |
CHANNEL_SECRET = os.getenv('CHANNEL_SECRET')
|
629 |
CHANNEL_ACCESS_TOKEN = os.getenv('CHANNEL_ACCESS_TOKEN')
|
630 |
WEBHOOK_URL = "https://api.coze.com/adapter/line/webhook/7372538698808246290"
|
631 |
-
|
632 |
@app.post("/webhook")
|
633 |
async def webhook(request: Request):
|
634 |
try:
|
|
|
628 |
CHANNEL_SECRET = os.getenv('CHANNEL_SECRET')
|
629 |
CHANNEL_ACCESS_TOKEN = os.getenv('CHANNEL_ACCESS_TOKEN')
|
630 |
WEBHOOK_URL = "https://api.coze.com/adapter/line/webhook/7372538698808246290"
|
631 |
+
import requests
|
632 |
@app.post("/webhook")
|
633 |
async def webhook(request: Request):
|
634 |
try:
|