From f206de5d49eda1900552a4b19f01c8c6985b7903 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 28 Apr 2021 19:58:27 -0400 Subject: finally committed to structopt arg parsing --- src/routes/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/routes') diff --git a/src/routes/mod.rs b/src/routes/mod.rs index 1866e49..be07aa0 100644 --- a/src/routes/mod.rs +++ b/src/routes/mod.rs @@ -1,5 +1,5 @@ use crate::error::TwinHError; -use crate::repo; +//use crate::repo; use crate::templates; use hyper::body::HttpBody as _; use hyper::Method; @@ -124,7 +124,7 @@ pub struct AccessToken { } async fn cars(req: Request) -> Result, TwinHError> { - let cars = repo::get_all_cars().unwrap(); + //let cars = repo::get_all_cars().unwrap(); todo!() } -- cgit v1.2.3