mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
chore: fix duplicate workflow issue
This commit is contained in:
parent
f7c1f63e1b
commit
16587fd7e1
1 changed files with 4 additions and 1 deletions
|
|
@ -130,7 +130,10 @@ async def duplicate_workflow(
|
|||
trigger_paths=trigger_paths,
|
||||
)
|
||||
|
||||
return new_workflow
|
||||
# Re-fetch so released_definition is eagerly loaded for the caller
|
||||
return await db_client.get_workflow(
|
||||
new_workflow.id, organization_id=organization_id
|
||||
)
|
||||
|
||||
|
||||
async def _copy_storage_object(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue