diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2022-09-12 12:36:02 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-12 12:36:02 +0000 |
| commit | 385102a5763f667d53a9d8ed2052ccb8c791bc91 (patch) | |
| tree | c02d25ab507ef85492809761664ad3343b8086bb /src/main.rs | |
| parent | 4d5d6d664b59205770703d321ec78e85476f80bf (diff) | |
Clippy
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
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 |
