aboutsummaryrefslogtreecommitdiff
path: root/backend/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/db')
-rw-r--r--backend/src/db/bots.rs1
-rw-r--r--backend/src/db/users.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/backend/src/db/bots.rs b/backend/src/db/bots.rs
index d359e28..bc9cb11 100644
--- a/backend/src/db/bots.rs
+++ b/backend/src/db/bots.rs
@@ -2,7 +2,6 @@ use diesel::prelude::*;
use serde::{Deserialize, Serialize};
use crate::schema::{bots, code_bundles};
-use crate::DbConn;
use chrono;
#[derive(Insertable)]
diff --git a/backend/src/db/users.rs b/backend/src/db/users.rs
index 0817766..663f173 100644
--- a/backend/src/db/users.rs
+++ b/backend/src/db/users.rs
@@ -1,4 +1,4 @@
-use crate::{schema::users, DbConn};
+use crate::schema::users;
use argon2;
use diesel::{prelude::*, PgConnection};
use rand::Rng;