fixed 流水线重复生成

This commit is contained in:
2025-04-21 13:59:15 +08:00
parent a8be844208
commit bddfe9d8f7
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
json.status 0
json.message "success"
json.projects @has_pipeline_ids.each do |project_id|
json.count @pipelines.total_count
json.projects @pipelines.map(&:project_id).each do |project_id|
json.id project_id
project = Project.find_by(id: project_id)
if project.present?