adding a document loader returns the correct id (#2538)

This commit is contained in:
Jared McQueen 2024-06-03 21:57:30 -04:00 committed by GitHub
parent 55f52c4d50
commit bdbb6f850a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ const getDocumentStoreFileChunks = async (storeId: string, fileId: string, pageN
}) })
if (found) { if (found) {
found.totalChars = totalChars found.totalChars = totalChars
found.id = entity.id found.id = fileId
found.status = entity.status found.status = entity.status
} }
const PAGE_SIZE = 50 const PAGE_SIZE = 50