diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-02-20 15:35:05 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-02-22 13:07:49 +0100 |
commit | 0b402e11e355dc8d834fbc139f4bca810a9f766e (patch) | |
tree | b03e45e942533bb1ae1811e59d42af88ca44fe7e /lib/api/v3/projects.rb | |
parent | 87411889b9c8a778bebafeaa381e1d736af7329a (diff) | |
download | gitlab-ce-0b402e11e355dc8d834fbc139f4bca810a9f766e.tar.gz |
Remove deprecated `upvotes` and `downvotes` from the notes API
Diffstat (limited to 'lib/api/v3/projects.rb')
-rw-r--r-- | lib/api/v3/projects.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/v3/projects.rb b/lib/api/v3/projects.rb index 6796da83f07..4bc836f2a3a 100644 --- a/lib/api/v3/projects.rb +++ b/lib/api/v3/projects.rb @@ -232,13 +232,13 @@ module API end desc 'Get events for a single project' do - success ::API::Entities::Event + success ::API::V3::Entities::Event end params do use :pagination end get ":id/events" do - present paginate(user_project.events.recent), with: ::API::Entities::Event + present paginate(user_project.events.recent), with: ::API::V3::Entities::Event end desc 'Fork new project for the current user or provided namespace.' do |