diff --git a/lib/galaxy/webapps/galaxy/api/webhooks.py b/lib/galaxy/webapps/galaxy/api/webhooks.py index 95352a84a1c..5865c2c844e 100644 --- a/lib/galaxy/webapps/galaxy/api/webhooks.py +++ b/lib/galaxy/webapps/galaxy/api/webhooks.py @@ -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 {}