kenken999 commited on
Commit
8ccba87
1 Parent(s): 7457485
Files changed (1) hide show
  1. 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: