|
|
|
@@ -4,7 +4,7 @@ json.stage_id pipeline_stage_step.stage_id |
|
|
|
json.show_index pipeline_stage_step.show_index |
|
|
|
json.content pipeline_stage_step.content |
|
|
|
json.template_id pipeline_stage_step.template_id |
|
|
|
json.category Ci::Template.find(pipeline_stage_step.template_id).category |
|
|
|
json.category stage_type == 'customize' ? Ci::Template.find(pipeline_stage_step.template_id).parent_category : Ci::Template.find(pipeline_stage_step.template_id).category |
|
|
|
json.created_at pipeline_stage_step.created_at |
|
|
|
json.updated_at pipeline_stage_step.updated_at |
|
|
|
|
|
|
|
|