diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-05 23:00:33 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-05 23:00:33 -0700 |
commit | a207c60ff756b9d591a56ca2814171dfa41e1a08 (patch) | |
tree | 4153a07d1647a89dac3e0dd53b3869960aa0769a /rust/src/bin/fatcatd.rs | |
parent | d45370efef0aee5063b8290ee4c5ded9c2e11671 (diff) | |
download | fatcat-a207c60ff756b9d591a56ca2814171dfa41e1a08.tar.gz fatcat-a207c60ff756b9d591a56ca2814171dfa41e1a08.zip |
update missing rust crate names
Diffstat (limited to 'rust/src/bin/fatcatd.rs')
-rw-r--r-- | rust/src/bin/fatcatd.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/bin/fatcatd.rs b/rust/src/bin/fatcatd.rs index 2c8614c2..67ec3123 100644 --- a/rust/src/bin/fatcatd.rs +++ b/rust/src/bin/fatcatd.rs @@ -104,7 +104,7 @@ fn main() -> Result<()> { .keys() .collect::<Vec<&String>>(), ); - let mut router = fatcat_api_spec::router(server); + let mut router = fatcat_openapi::router(server); router.get("/", root_handler, "root-redirect"); router.get("/swagger-ui", swaggerui_handler, "swagger-ui-html"); @@ -140,7 +140,7 @@ fn main() -> Result<()> { let mut chain = Chain::new(LoggerMiddleware::new(router, logger, formatter)); // authentication - chain.link_before(fatcat_api_spec::server::ExtractAuthData); + chain.link_before(fatcat_openapi::server::ExtractAuthData); chain.link_before(fatcat::auth::MacaroonAuthMiddleware::new()); chain.link_after(XClacksOverheadMiddleware); |