Commit 1694dc8fe226c0687ce2c54a71739adba22f33c5
1 parent
7ba4f2dc
Exists in
master
and in
4 other branches
Expose MergeRequest object as a notable in the API to allow for easy retrieval of comments
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/api/notes.rb
@@ -3,7 +3,7 @@ module Gitlab | @@ -3,7 +3,7 @@ module Gitlab | ||
3 | class Notes < Grape::API | 3 | class Notes < Grape::API |
4 | before { authenticate! } | 4 | before { authenticate! } |
5 | 5 | ||
6 | - NOTEABLE_TYPES = [Issue, Snippet] | 6 | + NOTEABLE_TYPES = [Issue, MergeRequest, Snippet] |
7 | 7 | ||
8 | resource :projects do | 8 | resource :projects do |
9 | # Get a list of project wall notes | 9 | # Get a list of project wall notes |