步骤查询接口返回模板信息修改

This commit is contained in:
moshenglv 2021-01-15 11:05:38 +08:00
parent ac6858a205
commit 9af0ff4a71
1 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@ json.step_name pipeline_stage_step.step_name
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.created_at pipeline_stage_step.created_at
json.updated_at pipeline_stage_step.updated_at
json.template do
json.partial! "/ci/templates/list", template: Ci::Template.find(pipeline_stage_step.template_id)
end