Skip to content

Commit

Permalink
use main cllection document created
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Fontanier committed Dec 4, 2024
1 parent 2bb8f61 commit 10629f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/data_sources/data_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,6 @@ impl DataSource {
full_text.len() as u64,
)?;

let created = document.created;

FileStorageDocument::save_document_in_file_storage(
&self,
&document,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 10629f8

Please sign in to comment.