Formatting
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user