From bc9a0de90f0463b59e69e6bb2f2e75f3c29062e5 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 17 Mar 2021 09:15:15 +0100 Subject: feat: add commit models and get all of them --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 63f48fa..b2e0ba3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,7 @@ mod db; mod errors; mod helpers; +mod commit; mod email; mod repository; @@ -37,6 +38,7 @@ async fn main() -> std::io::Result<()> { .wrap(middleware::Logger::default()) .configure(repository::routes::config) .configure(email::routes::config) + .configure(commit::routes::config) }) .bind(format!("{}:{}", config.server.host, config.server.port))? .run() -- cgit v1.2.3-18-g5258