Skip to content

Commit b0f7fc8

Browse files
committed
remove dead vars
1 parent 92848f2 commit b0f7fc8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • apps/sim/app/api/folders/[id]/duplicate

apps/sim/app/api/folders/[id]/duplicate/route.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)