Refactor: use DatasourceType.XX.value instead of hardcoded (#25015)

Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Yongtao Huang
2025-09-03 08:56:48 +08:00
committed by GitHub
parent f540d0b747
commit bc9efa7ea8
6 changed files with 21 additions and 14 deletions

View File

@@ -526,7 +526,6 @@ class PublishedWorkflowApi(Resource):
)
app_model.workflow_id = workflow.id
db.session.commit()
workflow_created_at = TimestampField().format(workflow.created_at)