fixed 流水线重复生成
This commit is contained in:
parent
0f2419cd93
commit
9b8de2457d
|
@ -1,7 +1,7 @@
|
|||
json.status 0
|
||||
json.message "success"
|
||||
json.count @pipelines.total_count
|
||||
json.projects @pipelines.map(&:project_id).each do |project_id|
|
||||
json.projects @pipelines.map(&:project_id).uniq.each do |project_id|
|
||||
json.id project_id
|
||||
project = Project.find_by(id: project_id)
|
||||
if project.present?
|
||||
|
|
Loading…
Reference in New Issue