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

This commit is contained in:
xxq250 2025-04-11 11:46:22 +08:00
parent b74d7c8166
commit 1a21d54857
1 changed files with 1 additions and 1 deletions

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