diff --git a/src/files.rs b/src/files.rs index cd6ed72..c830745 100644 --- a/src/files.rs +++ b/src/files.rs @@ -67,12 +67,6 @@ pub async fn list_photos( "Failed to get files with tag_ids: {:?} with filter_mode: {:?}", tag_ids, filter_mode )) - .map(|files| { - files - .into_iter() - .filter(|file_path| file_path.starts_with(search_path)) - .collect() - }) .map(|tagged_files: Vec| { trace!("Found {:?} tagged files: {:?}", tagged_files.len(), tagged_files);