about summary refs log tree commit diff
path: root/src/media/storage/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/media/storage/mod.rs')
-rw-r--r--src/media/storage/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media/storage/mod.rs b/src/media/storage/mod.rs
index b6f6ad7..551b61e 100644
--- a/src/media/storage/mod.rs
+++ b/src/media/storage/mod.rs
@@ -174,7 +174,7 @@ pub trait MediaStore: 'static + Send + Sync + Clone {
     fn metadata(&self, domain: &str, filename: &str) -> impl Future<Output = Result<Metadata>> + Send { async move {
         self.read_streaming(domain, filename)
             .await
-            .map(|(meta, stream)| meta)
+            .map(|(meta, _)| meta)
     } }
 
     fn delete(&self, domain: &str, filename: &str) -> impl Future<Output = Result<()>> + Send;