mirror of
https://github.com/langgenius/dify.git
synced 2026-01-19 11:45:05 +08:00
r2
This commit is contained in:
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user