pipeline sync draft

pull/21398/head
zxhlyh 1 year ago
parent 836cf6453e
commit f481075f8f

@ -101,7 +101,6 @@ export const useNodesSyncDraft = () => {
setDraftUpdatedAt, setDraftUpdatedAt,
} = workflowStore.getState() } = workflowStore.getState()
try { try {
console.log('xxx')
const res = await syncWorkflowDraft(postParams) const res = await syncWorkflowDraft(postParams)
setSyncWorkflowDraftHash(res.hash) setSyncWorkflowDraftHash(res.hash)
setDraftUpdatedAt(res.updated_at) setDraftUpdatedAt(res.updated_at)

Loading…
Cancel
Save