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 Huangandautofix-ci[bot] authored and GitHub committed 2025-09-03 08:56:48 +08:00
1 parent f540d0b747
commit bc9efa7ea8
6 files changed
+21 -14

No files matched your search

-1
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)