This commit is contained in:
2025-05-13 09:35:01 +03:00
parent d609aa8094
commit 29ccc54a4d
3 changed files with 40 additions and 7 deletions

View File

@@ -576,7 +576,8 @@ impl DocTree {
let collection = self.get_collection(collection_name)?;
// Create a new tokio runtime and block on the async export function
collection.export_to_ipfs(output_csv_path);
let csv_file_path = output_csv_path.join(format!("{}.csv", collection_name));
collection.export_to_ipfs(&csv_file_path)?;
Ok(())
}