refactor: Make router mutable in add_routes
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
a010b232bf
commit
ea817ad629
@@ -56,7 +56,7 @@ use utoipa_swagger_ui::SwaggerUi;
|
||||
struct ApiDoc;
|
||||
|
||||
pub fn add_routes(router: Router<AppState>) -> Router<AppState> {
|
||||
let mut router = router
|
||||
let router = router
|
||||
// Status endpoints
|
||||
.route("/api/status", get(status::handle_status))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user