Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
mysite/routers/fastapi.py
CHANGED
@@ -78,9 +78,10 @@ def setup_webhook_routes(app: FastAPI):
|
|
78 |
logger.info("Received Body: %s", body_str)
|
79 |
body_json = json.loads(body_str)
|
80 |
events = body_json.get("events", [])
|
|
|
81 |
webhook_url = os.getenv("chat_url")
|
82 |
token = os.getenv("token")
|
83 |
-
url = github(token,foldername)
|
84 |
|
85 |
|
86 |
|
|
|
78 |
logger.info("Received Body: %s", body_str)
|
79 |
body_json = json.loads(body_str)
|
80 |
events = body_json.get("events", [])
|
81 |
+
|
82 |
webhook_url = os.getenv("chat_url")
|
83 |
token = os.getenv("token")
|
84 |
+
#url = github(token,foldername)
|
85 |
|
86 |
|
87 |
|