remove profile_id relationship as profile_identity_gemini_id already has it

This commit is contained in:
yggverse 2024-11-16 15:51:55 +02:00
parent d9a6c88c1c
commit 3348e30d80
3 changed files with 11 additions and 21 deletions

View file

@ -21,7 +21,7 @@ impl Gemini {
/// Create new `Self`
pub fn new(connection: Rc<RwLock<Connection>>, profile_id: Rc<i64>) -> Self {
Self {
auth: Rc::new(Auth::new(connection.clone(), profile_id.clone())),
auth: Rc::new(Auth::new(connection.clone())),
database: Rc::new(Database::new(connection, profile_id)),
}
}