From deeff56967516764b287e15b2063899b13395b41 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Fri, 15 May 2015 23:33:31 -0700 Subject: Add support for Webhook note events Closes https://github.com/gitlabhq/gitlabhq/issues/6745 --- lib/api/project_hooks.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/api/project_hooks.rb') diff --git a/lib/api/project_hooks.rb b/lib/api/project_hooks.rb index be9850367b9..ad4d2e65dfd 100644 --- a/lib/api/project_hooks.rb +++ b/lib/api/project_hooks.rb @@ -43,7 +43,8 @@ module API :push_events, :issues_events, :merge_requests_events, - :tag_push_events + :tag_push_events, + :note_events ] @hook = user_project.hooks.new(attrs) @@ -73,7 +74,8 @@ module API :push_events, :issues_events, :merge_requests_events, - :tag_push_events + :tag_push_events, + :note_events ] if @hook.update_attributes attrs -- cgit v1.2.1