diff options
| author | Jarka Kadlecova <jarka@gitlab.com> | 2017-08-31 12:38:32 +0200 |
|---|---|---|
| committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-09-14 14:50:32 +0200 |
| commit | 073ba05d315881730de3995042cc4256c116e2c4 (patch) | |
| tree | 7c8d4f56a8fe9a991b0a03f221ff7fad5332ccd5 /lib/api/entities.rb | |
| parent | b9287208523e1a5c05939fe0db038df51a9082fc (diff) | |
| download | gitlab-ce-073ba05d315881730de3995042cc4256c116e2c4.tar.gz | |
Support discussion lock in the API
Diffstat (limited to 'lib/api/entities.rb')
| -rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 52c49e5caa9..4b2ac1cce95 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -362,6 +362,7 @@ module API end expose :due_date expose :confidential + expose :discussion_locked expose :web_url do |issue, options| Gitlab::UrlBuilder.build(issue) @@ -458,6 +459,7 @@ module API expose :diff_head_sha, as: :sha expose :merge_commit_sha expose :user_notes_count + expose :discussion_locked expose :should_remove_source_branch?, as: :should_remove_source_branch expose :force_remove_source_branch?, as: :force_remove_source_branch |
