mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-26 20:13:40 +00:00
feat(web): copy awel flow (#1200)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
This commit is contained in:
@@ -109,7 +109,7 @@ async def create(
|
||||
Returns:
|
||||
ServerResponse: The response
|
||||
"""
|
||||
return Result.succ(service.create(request))
|
||||
return Result.succ(service.create_and_save_dag(request))
|
||||
|
||||
|
||||
@router.put(
|
||||
@@ -129,7 +129,7 @@ async def update(
|
||||
Returns:
|
||||
ServerResponse: The response
|
||||
"""
|
||||
return Result.succ(service.update(request))
|
||||
return Result.succ(service.update_flow(request))
|
||||
|
||||
|
||||
@router.delete("/flows/{uid}")
|
||||
|
Reference in New Issue
Block a user