about summary refs log tree commit diff
path: root/kittybox-rs/src/media/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/src/media/mod.rs')
-rw-r--r--kittybox-rs/src/media/mod.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/kittybox-rs/src/media/mod.rs b/kittybox-rs/src/media/mod.rs
index d18cf34..0d26f92 100644
--- a/kittybox-rs/src/media/mod.rs
+++ b/kittybox-rs/src/media/mod.rs
@@ -1,9 +1,9 @@
-use bytes::buf::Buf;
-use futures_util::StreamExt;
 use axum::{
-    extract::{Host, Extension, Multipart},
-    response::{Response, IntoResponse, Json}
+    extract::{Extension, Host, Multipart},
+    response::{IntoResponse, Json, Response},
 };
+use bytes::buf::Buf;
+use futures_util::StreamExt;
 
 pub mod storage;
 use storage::{MediaStore, MediaStoreError};
@@ -36,7 +36,7 @@ use storage::{MediaStore, MediaStoreError};
 pub async fn upload<S: MediaStore>(
     Host(host): Host,
     upload: Multipart,
-    Extension(db): Extension<S>
+    Extension(db): Extension<S>,
 ) -> Response {
     todo!()
 }