mirror of
https://github.com/langgenius/dify.git
synced 2026-04-30 21:58:00 +08:00
r2
This commit is contained in:
parent
14dc3e8642
commit
da3a3ce165
@ -109,8 +109,7 @@ class CustomizedPipelineTemplateApi(Resource):
|
|||||||
if not template:
|
if not template:
|
||||||
raise ValueError("Customized pipeline template not found.")
|
raise ValueError("Customized pipeline template not found.")
|
||||||
|
|
||||||
dsl = yaml.safe_load(template.yaml_content)
|
return {"data": template.yaml_content}, 200
|
||||||
return {"data": dsl}, 200
|
|
||||||
|
|
||||||
|
|
||||||
class PublishCustomizedPipelineTemplateApi(Resource):
|
class PublishCustomizedPipelineTemplateApi(Resource):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user