diff options
author | Stan Hu <stanhu@gmail.com> | 2015-05-15 23:33:31 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-05-21 23:48:16 -0400 |
commit | deeff56967516764b287e15b2063899b13395b41 (patch) | |
tree | 6ccb51e39d3e2e670aba8ef3bb7fa24e7ed232a8 /lib | |
parent | 2b1b026a1e8c7654b475aa0aaacf3121e86ee2a5 (diff) | |
download | gitlab-ce-deeff56967516764b287e15b2063899b13395b41.tar.gz |
Add support for Webhook note events
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/project_hooks.rb | 6 |
1 files changed, 4 insertions, 2 deletions
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 |