summaryrefslogtreecommitdiff
path: root/lib/api/v3/pipelines.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/v3/pipelines.rb')
-rw-r--r--lib/api/v3/pipelines.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/v3/pipelines.rb b/lib/api/v3/pipelines.rb
index c48cbd2b765..6d31c12f572 100644
--- a/lib/api/v3/pipelines.rb
+++ b/lib/api/v3/pipelines.rb
@@ -19,6 +19,8 @@ module API
desc: 'Either running, branches, or tags'
end
get ':id/pipelines' do
+ Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab-ce/issues/42123')
+
authorize! :read_pipeline, user_project
pipelines = PipelinesFinder.new(user_project, scope: params[:scope]).execute