Update deprecated functions
This commit is contained in:
@@ -73,8 +73,8 @@ pub async fn list_photos<TagD: TagDao, FS: FileSystemAccess>(
|
||||
.filter(|file_path| file_path.starts_with(search_path))
|
||||
.collect()
|
||||
})
|
||||
.map(|tagged_files| {
|
||||
trace!("Found tagged files: {:?}", tagged_files);
|
||||
.map(|tagged_files: Vec<String>| {
|
||||
trace!("Found {:?} tagged files: {:?}", tagged_files.len(), tagged_files);
|
||||
|
||||
HttpResponse::Ok().json(PhotosResponse {
|
||||
photos: tagged_files,
|
||||
|
||||
Reference in New Issue
Block a user