MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / sanitizeDocumentStore

Function sanitizeDocumentStore

packages/ui/src/utils/exportImport.js:79–87  ·  view source on GitHub ↗
(DocumentStore)

Source from the content-addressed store, hash-verified

77}
78
79const sanitizeDocumentStore = (DocumentStore) => {
80 try {
81 return DocumentStore.map((documentStore) => {
82 return { ...documentStore, workspaceId: undefined }
83 })
84 } catch (error) {
85 throw new Error(`exportImport.sanitizeDocumentStore ${getErrorMessage(error)}`)
86 }
87}
88
89const sanitizeExecution = (Execution) => {
90 try {

Callers 1

exportDataFunction · 0.85

Calls 1

getErrorMessageFunction · 0.90

Tested by

no test coverage detected