...
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user