summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-08-22 16:42:34 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-08-22 16:42:43 +0200
commit78c3d9f61e2087cd09fdd36f002f910a4394c7f3 (patch)
treecaab167d7955461dad68fff74fcb2f753cfaf622 /server
parentdd9affd2b247b5df4042b975f8c7cfab59e26c75 (diff)
Remove unused pool
Diffstat (limited to 'server')
-rw-r--r--server/src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 17ac707..3b080eb 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -1,7 +1,6 @@
mod db;
mod errors;
mod logger;
-use sqlx::postgres::PgPool;
use axum::{
http::{header, Request},
@@ -31,7 +30,6 @@ async fn main() {
async fn create_app() -> Router {
logger::setup();
let _ = db::setup().await;
- let pool = unsafe { db::get_client() };
Router::new()
.route("/", get(hej))