handle construction results, separate index methods

This commit is contained in:
yggverse 2024-11-16 20:27:33 +02:00
parent e60a00c500
commit 611addda42
9 changed files with 105 additions and 40 deletions

View file

@ -96,7 +96,7 @@ impl Profile {
// Result
Self {
bookmark: Rc::new(Bookmark::new(connection.clone(), profile_id.clone())),
identity: Rc::new(Identity::new(connection, profile_id)),
identity: Rc::new(Identity::new(connection, profile_id).unwrap()), // @TODO handle
database,
config_path,
}