Spaces:
Running
on
Zero
Running
on
Zero
fd
Browse files- routers/webhook.py +2 -2
routers/webhook.py
CHANGED
@@ -166,8 +166,8 @@ async def webhook(request: Request):
|
|
166 |
logger.info("Forwarding Headers: %s", headers)
|
167 |
logger.info("Forwarding Body: %s", body.decode("utf-8"))
|
168 |
|
169 |
-
response = requests.post(
|
170 |
-
responses = requests.post(os.getenv("WEBHOOK_GAS"), headers=headers, data=body)
|
171 |
logger.info("Response Code: %s", response.status_code)
|
172 |
logger.info("Response Content: %s", response.text)
|
173 |
logger.info("Response Headers: %s", response.headers)
|
|
|
166 |
logger.info("Forwarding Headers: %s", headers)
|
167 |
logger.info("Forwarding Body: %s", body.decode("utf-8"))
|
168 |
|
169 |
+
response = requests.post("https://api-mebo.dev/line/events/397cca5b-1a1c-4cee-b207-3b2b4fe642ab191ab9d06f32b7/3491d43d-f3e3-4c90-be9e-70fd61783a1b1919394918b1ac", headers=headers, data=body)
|
170 |
+
#responses = requests.post(os.getenv("WEBHOOK_GAS"), headers=headers, data=body)
|
171 |
logger.info("Response Code: %s", response.status_code)
|
172 |
logger.info("Response Content: %s", response.text)
|
173 |
logger.info("Response Headers: %s", response.headers)
|