fix: sor.U() 3-arg -> 2-arg in publish_pipeline
This commit is contained in:
parent
ddc3db5364
commit
864d3ef218
@ -239,7 +239,7 @@ async def publish_pipeline(params_kw):
|
||||
await sor.C('pipeline_versions', version_data)
|
||||
|
||||
# Update pipeline status to published
|
||||
await sor.U('pipelines', {'status': 'published'}, {'id': pipeline_id})
|
||||
await sor.U('pipelines', {'id': pipeline_id, 'status': 'published'})
|
||||
|
||||
result['success'] = True
|
||||
result['message'] = '发布成功'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user