mirror of https://github.com/langgenius/dify.git
This commit is contained in:
parent
14dc3e8642
commit
da3a3ce165
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue