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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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)