mirror of
https://github.com/langgenius/dify.git
synced 2026-04-07 00:46:50 +08:00
r2
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
Block a user