Skip to content

Commit bdbb6f8

Browse files
authored
adding a document loader returns the correct id (FlowiseAI#2538)
1 parent 55f52c4 commit bdbb6f8

File tree

1 file changed

+1
-1
lines changed
  • packages/server/src/services/documentstore

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ const getDocumentStoreFileChunks = async (storeId: string, fileId: string, pageN
180180
})
181181
if (found) {
182182
found.totalChars = totalChars
183-
found.id = entity.id
183+
found.id = fileId
184184
found.status = entity.status
185185
}
186186
const PAGE_SIZE = 50

0 commit comments

Comments
 (0)