diff --git a/humbug/urls.py b/humbug/urls.py index e33dcd5093..fec3ee783f 100644 --- a/humbug/urls.py +++ b/humbug/urls.py @@ -159,9 +159,10 @@ urlpatterns += patterns('zephyr.views', {'POST': 'api_events_register'}), # These are integration-specific web hook callbacks + url(r'^api/v1/external/beanstalk$', 'rest_dispatch', + {'POST': 'api_beanstalk_webhook'}), url(r'^api/v1/external/github$', 'api_github_landing'), url(r'^api/v1/external/jira$', 'api_jira_webhook'), - url(r'^api/v1/external/beanstalk$', 'api_beanstalk_webhook'), url(r'^api/v1/external/pivotal$', 'api_pivotal_webhook'), ) diff --git a/zephyr/views.py b/zephyr/views.py index 3178c8d8d7..4e94d524b8 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -1767,7 +1767,6 @@ def beanstalk_decoder(view_func): return _wrapped_view_func @beanstalk_decoder -@authenticated_rest_api_view @has_request_variables def api_beanstalk_webhook(request, user_profile, payload=REQ(converter=json_to_dict)):