summaryrefslogtreecommitdiff
path: root/src/routes/mod.rs
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-04-28 19:58:27 -0400
committerAdam T. Carpenter <atc@53hor.net>2021-04-28 19:58:27 -0400
commitf206de5d49eda1900552a4b19f01c8c6985b7903 (patch)
tree86f0b681e01eeda4a8d5f03a85c988866538b981 /src/routes/mod.rs
parentd83fe68ed51016bbb87d83aa512ef8b9d3f0780e (diff)
downloadtwinh-enhancement/2.tar.xz
twinh-enhancement/2.zip
finally committed to structopt arg parsingenhancement/2
Diffstat (limited to 'src/routes/mod.rs')
-rw-r--r--src/routes/mod.rs4
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!()
}