Formatting

This commit is contained in:
Connor Johnstone
2026-03-18 15:37:10 -04:00
parent 1f36374394
commit 93392db27c
8 changed files with 250 additions and 161 deletions

View File

@@ -1,4 +1,4 @@
use actix_web::{web, HttpResponse};
use actix_web::{HttpResponse, web};
use serde::Deserialize;
use shanty_search::SearchProvider;
@@ -21,7 +21,9 @@ pub struct AlbumTrackSearchParams {
limit: u32,
}
fn default_limit() -> u32 { 25 }
fn default_limit() -> u32 {
25
}
pub fn configure(cfg: &mut web::ServiceConfig) {
cfg.service(web::resource("/search/artist").route(web::get().to(search_artist)))