diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 373223c..5683aea 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -1,10 +1,10 @@ | |||
1 | use gradecoin::schema::create_database; | ||
1 | use std::env; | 2 | use std::env; |
2 | use warp::Filter; | 3 | use warp::Filter; |
3 | 4 | ||
4 | mod handlers; | ||
5 | mod custom_filters; | 5 | mod custom_filters; |
6 | mod handlers; | ||
6 | mod routes; | 7 | mod routes; |
7 | mod schema; | ||
8 | // mod validators; | 8 | // mod validators; |
9 | 9 | ||
10 | #[tokio::main] | 10 | #[tokio::main] |
@@ -15,7 +15,7 @@ async fn main() { | |||
15 | } | 15 | } |
16 | pretty_env_logger::init(); | 16 | pretty_env_logger::init(); |
17 | 17 | ||
18 | let db = schema::create_database(); | 18 | let db = create_database(); |
19 | 19 | ||
20 | let api = routes::consensus_routes(db); | 20 | let api = routes::consensus_routes(db); |
21 | 21 | ||