Commit
•
ec203a9
1
Parent(s):
962f45f
Used dataset name from the payload
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ app = WebhooksServer(ui=ui.queue(), webhook_secret=WEBHOOK_SECRET)
|
|
135 |
@app.add_webhook("/dataset_repo")
|
136 |
async def community(payload: WebhookPayload):
|
137 |
if payload.event.scope.startswith("repo"):
|
138 |
-
logger.info(f"Webhook received from {
|
139 |
|
140 |
|
141 |
if __name__ == '__main__':
|
|
|
135 |
@app.add_webhook("/dataset_repo")
|
136 |
async def community(payload: WebhookPayload):
|
137 |
if payload.event.scope.startswith("repo"):
|
138 |
+
logger.info(f"Webhook received from {payload.repo.name} indicating a repo {payload.event.action}")
|
139 |
|
140 |
|
141 |
if __name__ == '__main__':
|