diff options
author | cnam-dep <cnam812@gmail.com> | 2016-02-24 00:59:32 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-05-09 17:07:35 +0300 |
commit | 5364400741b7d041c945ccca98283bc465d5a87c (patch) | |
tree | bae5a056d7f13d1422dc0ee2c511111b5b0c6d08 /lib/api | |
parent | 618033fb2f0461275f03541f428e33b3e1b4d721 (diff) |
API: Expose Issue#user_notes_count
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 716ca6f7ed9..42f623c5a3a 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -170,10 +170,10 @@ module API expose :label_names, as: :labels expose :milestone, using: Entities::Milestone expose :assignee, :author, using: Entities::UserBasic - expose :subscribed do |issue, options| issue.subscribed?(options[:current_user]) end + expose :user_notes_count end class MergeRequest < ProjectEntity |