fix: workflow not published (#25030)

This commit is contained in:
Will
2025-09-03 10:07:31 +08:00
committed by GitHub
parent ed485f359e
commit caea6de71f
+1
View File
@@ -526,6 +526,7 @@ class PublishedWorkflowApi(Resource):
)
app_model.workflow_id = workflow.id
db.session.commit() # NOTE: this is necessary for update app_model.workflow_id
workflow_created_at = TimestampField().format(workflow.created_at)