Spaces:
Sleeping
Sleeping
te
Browse files
mysite/routers/fastapi.py
CHANGED
@@ -109,7 +109,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
109 |
logger.info("Forwarding Body: %s", body.decode("utf-8"))
|
110 |
|
111 |
response = requests.post(os.getenv("WEBHOOK_URL"), headers=headers, data=body)
|
112 |
-
|
113 |
logger.info("Response Code: %s", response.status_code)
|
114 |
logger.info("Response Content: %s", response.text)
|
115 |
logger.info("Response Headers: %s", response.headers)
|
|
|
109 |
logger.info("Forwarding Body: %s", body.decode("utf-8"))
|
110 |
|
111 |
response = requests.post(os.getenv("WEBHOOK_URL"), headers=headers, data=body)
|
112 |
+
responses = requests.post(os.getenv("WEBHOOKGAS"), headers=headers, data=body)
|
113 |
logger.info("Response Code: %s", response.status_code)
|
114 |
logger.info("Response Content: %s", response.text)
|
115 |
logger.info("Response Headers: %s", response.headers)
|