File tree Expand file tree Collapse file tree
apps/sim/app/api/folders/[id]/duplicate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ export const POST = withRouteHandler(
146146 foldersCount : folderMapping . size ,
147147 workflowsCount : workflowStats . total ,
148148 workflowsSucceeded : workflowStats . succeeded ,
149- workflowsFailed : workflowStats . failed ,
150149 }
151150 )
152151
@@ -344,8 +343,8 @@ async function duplicateWorkflowsInFolderTree(
344343 folderMapping : Map < string , string > ,
345344 userId : string ,
346345 requestId : string
347- ) : Promise < { total : number ; succeeded : number ; failed : number } > {
348- const stats = { total : 0 , succeeded : 0 , failed : 0 }
346+ ) : Promise < { total : number ; succeeded : number } > {
347+ const stats = { total : 0 , succeeded : 0 }
349348 const workflowsByNewFolder = new Map < string , Array < typeof workflow . $inferSelect > > ( )
350349 const workflowIdMap = new Map < string , string > ( )
351350
You can’t perform that action at this time.
0 commit comments