summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index f91ca9d5805..c210cfe513f 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -174,7 +174,7 @@ module API
expose :subscribed do |issue, options|
issue.subscribed?(options[:current_user])
end
- expose :user_notes_count
+ expose :upvotes, :downvotes
end
class MergeRequest < ProjectEntity
@@ -191,7 +191,6 @@ module API
expose :subscribed do |merge_request, options|
merge_request.subscribed?(options[:current_user])
end
- expose :user_notes_count
end
class MergeRequestChanges < MergeRequest