mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Workflow save before publish
This commit is contained in:
parent
751cdc4299
commit
877d413b1d
|
|
@ -315,7 +315,7 @@ const publish = () => {
|
|||
return
|
||||
}
|
||||
loadSharedApi({ type: 'knowledge', systemType: apiType.value })
|
||||
.putKnowledge(id, { work_flow: workflow })
|
||||
.putKnowledgeWorkflow(id, { work_flow: workflow })
|
||||
.then(() => {
|
||||
return loadSharedApi({ type: 'knowledge', systemType: apiType.value }).publish(
|
||||
id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue