Run clippy

This commit is contained in:
Cameron Cordes
2023-03-25 20:59:32 -04:00
parent a9109fc52d
commit 7863990c68
2 changed files with 2 additions and 8 deletions

View File

@@ -39,12 +39,6 @@ pub async fn list_photos<TagD: TagDao, FS: FileSystemAccess>(
return dao
.get_files_with_tag_ids(tag_ids.clone())
.map(|tagged_file| {
tagged_file
.iter()
.map(|photo_name| photo_name.clone())
.collect()
})
.context(format!("Failed to files with tag_ids: {:?}", tag_ids))
.map(|tagged_files| {
HttpResponse::Ok().json(PhotosResponse {