diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-04-28 19:58:27 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-04-28 19:58:27 -0400 |
commit | f206de5d49eda1900552a4b19f01c8c6985b7903 (patch) | |
tree | 86f0b681e01eeda4a8d5f03a85c988866538b981 /src/routes | |
parent | d83fe68ed51016bbb87d83aa512ef8b9d3f0780e (diff) | |
download | twinh-f206de5d49eda1900552a4b19f01c8c6985b7903.tar.xz twinh-f206de5d49eda1900552a4b19f01c8c6985b7903.zip |
finally committed to structopt arg parsingenhancement/2
Diffstat (limited to 'src/routes')
-rw-r--r-- | src/routes/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<Body>) -> Result<Response<Body>, TwinHError> { - let cars = repo::get_all_cars().unwrap(); + //let cars = repo::get_all_cars().unwrap(); todo!() } |