Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files
mysite/routers/fastapi.py
CHANGED
@@ -234,7 +234,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
234 |
logger.info("Forwarding Headers: %s", headers)
|
235 |
logger.info("Forwarding Body: %s", body.decode("utf-8"))
|
236 |
|
237 |
-
response = requests.post(os.getenv("WEBHOOK_URL"), headers=headers, data=body)
|
238 |
responses = requests.post(os.getenv("WEBHOOKGAS"), headers=headers, data=body)
|
239 |
logger.info("Response Code: %s", response.status_code)
|
240 |
logger.info("Response Content: %s", response.text)
|
|
|
234 |
logger.info("Forwarding Headers: %s", headers)
|
235 |
logger.info("Forwarding Body: %s", body.decode("utf-8"))
|
236 |
|
237 |
+
#response = requests.post(os.getenv("WEBHOOK_URL"), headers=headers, data=body)
|
238 |
responses = requests.post(os.getenv("WEBHOOKGAS"), headers=headers, data=body)
|
239 |
logger.info("Response Code: %s", response.status_code)
|
240 |
logger.info("Response Content: %s", response.text)
|