Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-08 11:24:20 +0300
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-02 20:11:51 +0300
commit56f50cbb3a63ae914f50eda3756b49d5cf516207 (patch)
tree10b957c6b3f5aa2fea50696f3ebc038de6ac5ba0 /lib/api/pipelines.rb
parent44ae99399f75f0b23e9d78eb4217fad4911ccbca (diff)
Fix how to use PipelinesFinder
Diffstat (limited to 'lib/api/pipelines.rb')
-rw-r--r--lib/api/pipelines.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/pipelines.rb b/lib/api/pipelines.rb
index bcb4fdcfe47..986dd607e23 100644
--- a/lib/api/pipelines.rb
+++ b/lib/api/pipelines.rb
@@ -29,7 +29,7 @@ module API
get ':id/pipelines' do
authorize! :read_pipeline, user_project
- pipelines = PipelinesFinder.new(user_project, params).execute(scope: params[:scope])
+ pipelines = PipelinesFinder.new(user_project, params).execute
present paginate(pipelines), with: Entities::PipelineBasic
end