kenken999 commited on
Commit
07c1d41
1 Parent(s): 95dc2cf
Files changed (1) hide show
  1. mysite/routers/fastapi.py +1 -1
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)