fix: sor.U() 3-arg -> 2-arg in publish_pipeline
This commit is contained in:
parent
fc041fc5f4
commit
4277d14aee
@ -239,7 +239,7 @@ async def publish_pipeline(params_kw):
|
|||||||
await sor.C('pipeline_versions', version_data)
|
await sor.C('pipeline_versions', version_data)
|
||||||
|
|
||||||
# Update pipeline status to published
|
# 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['success'] = True
|
||||||
result['message'] = '发布成功'
|
result['message'] = '发布成功'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user