Run clippy
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user