diff options
Diffstat (limited to 'lib/api/project_hooks.rb')
-rw-r--r-- | lib/api/project_hooks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/project_hooks.rb b/lib/api/project_hooks.rb index c9cba397f5c..011d5e69f00 100644 --- a/lib/api/project_hooks.rb +++ b/lib/api/project_hooks.rb @@ -57,7 +57,7 @@ module API use :pagination end get ":id/hooks" do - present paginate(user_project.hooks), with: Entities::ProjectHook + present paginate(user_project.hooks), with: Entities::ProjectHook, with_url_variables: false end desc 'Get project hook' do |