mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 13:00:56 +03:00
Optimize export import (#4795)
* feat: add saveBatch and optimize duplication id handling * feat: improve lookup performance by using Set
This commit is contained in:
@@ -39,7 +39,7 @@ const importData = async (req: Request, res: Response, next: NextFunction) => {
|
||||
}
|
||||
|
||||
await exportImportService.importData(importData, orgId, workspaceId, subscriptionId)
|
||||
return res.json({ message: 'success' })
|
||||
return res.status(StatusCodes.OK).json({ message: 'success' })
|
||||
} catch (error) {
|
||||
next(error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user