@@ -54,7 +54,7 @@ impl DbUser {
54
54
}
55
55
56
56
async fn get_user_by_email (
57
- conn : & tokio_rusqlite :: Connection ,
57
+ conn : & trailbase_sqlite :: Connection ,
58
58
email : & str ,
59
59
) -> Result < DbUser , BoxError > {
60
60
if let Some ( user) = conn
@@ -158,7 +158,7 @@ async fn async_main() -> Result<(), BoxError> {
158
158
Some ( SubCommands :: Schema ( cmd) ) => {
159
159
init_logger ( false ) ;
160
160
161
- let conn = tokio_rusqlite :: Connection :: from_conn ( api:: connect_sqlite (
161
+ let conn = trailbase_sqlite :: Connection :: from_conn ( api:: connect_sqlite (
162
162
Some ( data_dir. main_db_path ( ) ) ,
163
163
None ,
164
164
) ?)
@@ -202,7 +202,7 @@ async fn async_main() -> Result<(), BoxError> {
202
202
Some ( SubCommands :: Admin { cmd } ) => {
203
203
init_logger ( false ) ;
204
204
205
- let conn = tokio_rusqlite :: Connection :: from_conn ( api:: connect_sqlite (
205
+ let conn = trailbase_sqlite :: Connection :: from_conn ( api:: connect_sqlite (
206
206
Some ( data_dir. main_db_path ( ) ) ,
207
207
None ,
208
208
) ?)
@@ -257,7 +257,7 @@ async fn async_main() -> Result<(), BoxError> {
257
257
init_logger ( false ) ;
258
258
259
259
let data_dir = DataDir ( args. data_dir ) ;
260
- let conn = tokio_rusqlite :: Connection :: from_conn ( api:: connect_sqlite (
260
+ let conn = trailbase_sqlite :: Connection :: from_conn ( api:: connect_sqlite (
261
261
Some ( data_dir. main_db_path ( ) ) ,
262
262
None ,
263
263
) ?)
0 commit comments