Refactor tags services and added tests
Implemented some functionality which will allow the service configuration of the app to be split among the features for readability and testability.
This commit is contained in:
1 parent
fbcfc68e01
commit
de4041bd17
6 files changed
+143
-50
No files matched your search
+1
-3
@@ -1,10 +1,8 @@
|
||||
use bcrypt::{hash, verify, DEFAULT_COST};
|
||||
use diesel::prelude::*;
|
||||
use diesel::sqlite::SqliteConnection;
|
||||
use std::{
|
||||
sync::{Arc, Mutex},
|
||||
};
|
||||
use std::ops::DerefMut;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use crate::database::models::{Favorite, InsertFavorite, InsertUser, User};
|
||||
|
||||
|
||||
Reference in new issue
Block a user