Spaces:
Runtime error
Runtime error
derek-thomas
commited on
Commit
·
aef4cb3
1
Parent(s):
0952d73
Fixing missing parens
Browse files
app.py
CHANGED
@@ -88,8 +88,7 @@ async def community(payload: WebhookPayload, task_queue: BackgroundTasks):
|
|
88 |
if 'README.md' in response_text:
|
89 |
return Response("No need to trigger, its a README update.", status_code=status.HTTP_200_OK)
|
90 |
except:
|
91 |
-
return Response("Something weird with the webhook?", status_code=status.HTTP_501_NOT_IMPLEMENTED
|
92 |
-
|
93 |
|
94 |
logger.info(f"Webhook received from {payload.repo.name} indicating a repo {payload.event.action}")
|
95 |
task_queue.add_task(_process_webhook, payload=payload)
|
|
|
88 |
if 'README.md' in response_text:
|
89 |
return Response("No need to trigger, its a README update.", status_code=status.HTTP_200_OK)
|
90 |
except:
|
91 |
+
return Response("Something weird with the webhook?", status_code=status.HTTP_501_NOT_IMPLEMENTED)
|
|
|
92 |
|
93 |
logger.info(f"Webhook received from {payload.repo.name} indicating a repo {payload.event.action}")
|
94 |
task_queue.add_task(_process_webhook, payload=payload)
|