Browse Source

fixed 组织流水线列表接口,组织内所有仓库

pull/348/head^2^2
xxq250 1 year ago
parent
commit
1a21d54857
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/pm/pipelines_controller.rb

+ 1
- 1
app/controllers/api/pm/pipelines_controller.rb View File

@@ -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



Loading…
Cancel
Save