From 9bc253dfb1e4bf55170f68aaad0ee9f7b428ac63 Mon Sep 17 00:00:00 2001 From: Jared McQueen Date: Fri, 31 May 2024 08:50:40 -0400 Subject: [PATCH] adding a document loader returns the correct id --- packages/server/src/services/documentstore/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/services/documentstore/index.ts b/packages/server/src/services/documentstore/index.ts index 20031b532b8..3492602fa11 100644 --- a/packages/server/src/services/documentstore/index.ts +++ b/packages/server/src/services/documentstore/index.ts @@ -180,7 +180,7 @@ const getDocumentStoreFileChunks = async (storeId: string, fileId: string, pageN }) if (found) { found.totalChars = totalChars - found.id = entity.id + found.id = fileId found.status = entity.status } const PAGE_SIZE = 50