mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
Bugfix/vector store config not saving (#4299)
fix vector store config not saving
This commit is contained in:
@@ -334,8 +334,7 @@ const saveVectorStoreConfig = async (req: Request, res: Response, next: NextFunc
|
||||
}
|
||||
const body = req.body
|
||||
const appDataSource = getRunningExpressApp().AppDataSource
|
||||
const componentNodes = getRunningExpressApp().nodesPool.componentNodes
|
||||
const apiResponse = await documentStoreService.saveVectorStoreConfig(appDataSource, componentNodes, body)
|
||||
const apiResponse = await documentStoreService.saveVectorStoreConfig(appDataSource, body)
|
||||
return res.json(apiResponse)
|
||||
} catch (error) {
|
||||
next(error)
|
||||
|
||||
Reference in New Issue
Block a user