Expose MergeRequest object as a notable in the API to allow for easy retrieval of comments
This commit is contained in:
parent
7ba4f2dcfa
commit
1694dc8fe2
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ module Gitlab
|
||||||
class Notes < Grape::API
|
class Notes < Grape::API
|
||||||
before { authenticate! }
|
before { authenticate! }
|
||||||
|
|
||||||
NOTEABLE_TYPES = [Issue, Snippet]
|
NOTEABLE_TYPES = [Issue, MergeRequest, Snippet]
|
||||||
|
|
||||||
resource :projects do
|
resource :projects do
|
||||||
# Get a list of project wall notes
|
# Get a list of project wall notes
|
||||||
|
|
Loading…
Add table
Reference in a new issue