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:
parent
f540d0b747
commit
bc9efa7ea8
6 changed files with 21 additions and 14 deletions
|
|
@ -526,7 +526,6 @@ class PublishedWorkflowApi(Resource):
|
|||
)
|
||||
|
||||
app_model.workflow_id = workflow.id
|
||||
db.session.commit()
|
||||
|
||||
workflow_created_at = TimestampField().format(workflow.created_at)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue