mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
bug fix
This commit is contained in:
@@ -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 {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user