This commit is contained in:
jyong 2025-06-11 18:07:06 +08:00
parent 14dc3e8642
commit da3a3ce165
1 changed files with 1 additions and 2 deletions

View File

@ -109,8 +109,7 @@ class CustomizedPipelineTemplateApi(Resource):
if not template:
raise ValueError("Customized pipeline template not found.")
dsl = yaml.safe_load(template.yaml_content)
return {"data": dsl}, 200
return {"data": template.yaml_content}, 200
class PublishCustomizedPipelineTemplateApi(Resource):