mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-21 08:21:25 +02:00
fix: improved storage manager, prep for s3
This commit is contained in:
@@ -32,7 +32,8 @@ pub async fn ingest_data(
|
||||
info!("Received input: {:?}", input);
|
||||
|
||||
let file_infos = try_join_all(input.files.into_iter().map(|file| {
|
||||
FileInfo::new(file, &state.db, &user.id, &state.config).map_err(AppError::from)
|
||||
FileInfo::new_with_storage(file, &state.db, &user.id, &state.storage)
|
||||
.map_err(AppError::from)
|
||||
}))
|
||||
.await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user