avoid some clippy warnings
This commit is contained in:
@ -22,11 +22,8 @@ fn get_subscription(
|
||||
}
|
||||
|
||||
pub fn router() -> Router {
|
||||
|
||||
let route = Router::new()
|
||||
Router::new()
|
||||
.get(ApiMethod::new(
|
||||
get_subscription,
|
||||
ObjectSchema::new("Read subscription info.")));
|
||||
|
||||
route
|
||||
ObjectSchema::new("Read subscription info.")))
|
||||
}
|
||||
|
Reference in New Issue
Block a user