fix: workflow not published (#25030)

This commit is contained in:
Will
2025-09-03 10:07:31 +08:00
committed by GitHub
parent c0bd35594e
commit 5092e5f631

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)