summaryrefslogtreecommitdiff
path: root/src/routes/album.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/album.rs')
-rw-r--r--src/routes/album.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/album.rs b/src/routes/album.rs
index 1948339..02116d4 100644
--- a/src/routes/album.rs
+++ b/src/routes/album.rs
@@ -10,7 +10,7 @@ struct AlbumQueryOptions {
artist: Option<String>,
}
-#[get("/api/album")]
+#[get("/album")]
pub async fn album(
app_state: web::Data<AppState>,
get_args: web::Query<AlbumQueryOptions>,