summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index fd58313..c20f667 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -46,7 +46,7 @@ async fn create_app() -> Router {
Router::new()
.route(
- &format!("{}/:id", UPLOADS_ENDPOINT).to_owned(),
+ &format!("{}/:id", UPLOADS_ENDPOINT),
get(crate::files::show_uploads),
)
// Map all routes to `/v1/*` namespace