diff --git a/app/controllers/api/pm/pipelines_controller.rb b/app/controllers/api/pm/pipelines_controller.rb index e7fcb327c..04ad88d7f 100644 --- a/app/controllers/api/pm/pipelines_controller.rb +++ b/app/controllers/api/pm/pipelines_controller.rb @@ -64,7 +64,7 @@ class Api::Pm::PipelinesController < Api::Pm::BaseController end Rails.logger.info("@run_result======#{@run_result}") @disabled_workflows = Gitea::RepoUnit.where(repo_id: project_gpids, type: 10).where("config is not null") - @pipelines = Action::Pipeline.where(project_id: @project.id).order(updated_at: :desc) + @pipelines = Action::Pipeline.where(project_id: project_ids).order(updated_at: :desc) @pipelines = paginate @pipelines end