From 10629f8ae22607e885408e1e62159a962d53b0bf Mon Sep 17 00:00:00 2001 From: Henry Fontanier Date: Wed, 4 Dec 2024 15:52:06 +0100 Subject: [PATCH] use main cllection document created --- core/src/data_sources/data_source.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/data_sources/data_source.rs b/core/src/data_sources/data_source.rs index 79f75e650548..9979bf85a425 100644 --- a/core/src/data_sources/data_source.rs +++ b/core/src/data_sources/data_source.rs @@ -708,8 +708,6 @@ impl DataSource { full_text.len() as u64, )?; - let created = document.created; - FileStorageDocument::save_document_in_file_storage( &self, &document, @@ -772,7 +770,7 @@ impl DataSource { hash: main_collection_document.hash, text_size: main_collection_document.text_size, chunk_count: main_collection_document.chunk_count, - created, + created: main_collection_document.created, }; let mut doc = store