Skip to content

Commit a6506b3

Browse files
authored
Bugfix/vector store config not saving (#4299)
fix vector store config not saving
1 parent 27ad522 commit a6506b3

File tree

1 file changed

+1
-2
lines changed
  • packages/server/src/controllers/documentstore

1 file changed

+1
-2
lines changed

packages/server/src/controllers/documentstore/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,7 @@ const saveVectorStoreConfig = async (req: Request, res: Response, next: NextFunc
334334
}
335335
const body = req.body
336336
const appDataSource = getRunningExpressApp().AppDataSource
337-
const componentNodes = getRunningExpressApp().nodesPool.componentNodes
338-
const apiResponse = await documentStoreService.saveVectorStoreConfig(appDataSource, componentNodes, body)
337+
const apiResponse = await documentStoreService.saveVectorStoreConfig(appDataSource, body)
339338
return res.json(apiResponse)
340339
} catch (error) {
341340
next(error)

0 commit comments

Comments
 (0)