aboutsummaryrefslogtreecommitdiff
path: root/src/controller/wallet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller/wallet.rs')
-rw-r--r--src/controller/wallet.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/controller/wallet.rs b/src/controller/wallet.rs
index 2a4a593..edc773d 100644
--- a/src/controller/wallet.rs
+++ b/src/controller/wallet.rs
@@ -1,13 +1,12 @@
-use sqlx::sqlite::SqlitePool;
use std::collections::HashMap;
-use tera::Tera;
+use tokio_rusqlite::Connection;
use crate::model::user::User;
#[derive(Clone)]
pub struct Wallet {
- pub pool: SqlitePool,
+ pub db_conn: Connection,
pub assets: HashMap<String, String>,
- pub templates: Tera,
+ pub templates: minijinja::Environment<'static>,
pub user: User,
}