mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 04:35:45 +08:00
fixed 流水线重复生成
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user