Fix clippy warnings

This commit is contained in:
Shav Kinderlehrer 2024-04-07 20:42:38 -04:00
parent 21b18aac54
commit 2faf289829

View File

@ -198,11 +198,3 @@ CREATE TABLE IF NOT EXISTS chela.tracking (
Ok(db_pool)
}
fn init_routes(state: ServerState) -> Router {
Router::new()
.route("/", get(get::index))
.route("/create", get(get::create_id))
.route("/", post(post::create_link))
.layer(axum::Extension(state))
}