This commit is contained in:
Evgeny Anatskiy
2016-10-12 12:49:19 +02:00
parent cc36793cd0
commit 812aca5b34
+1 -1
View File
@@ -38,7 +38,7 @@ class WebhooksController(BaseAPIController):
webhook
for webhook in self.app.webhooks_registry.webhooks
if webhook_type in webhook.type \
and webhook.activate == 'true'
and webhook.activate == True
]
return random.choice(webhooks).to_dict() if webhooks else {}