✨ Adds updating fields
Signed-off-by: Ash Svitan <selfsigned-ash@proton.me>
This commit is contained in:
@@ -9,7 +9,6 @@ pub struct Item {
|
||||
pub id: String,
|
||||
pub name: String,
|
||||
pub user: Option<String>,
|
||||
pub uris: Option<Vec<String>>,
|
||||
#[serde(rename = "type")]
|
||||
pub type_: String,
|
||||
}
|
||||
@@ -20,7 +19,6 @@ pub struct LoginItem {
|
||||
pub name: String,
|
||||
pub user: String,
|
||||
pub password: String,
|
||||
pub uris: Vec<String>,
|
||||
}
|
||||
|
||||
pub fn check_rbw() -> Result<(), Error> {
|
||||
@@ -78,10 +76,6 @@ pub fn get_logins(items: Vec<Item>) -> Result<Vec<LoginItem>, Error> {
|
||||
Some(s) => s.to_string(),
|
||||
None => password,
|
||||
},
|
||||
uris: match item.uris.clone() {
|
||||
Some(val) => val,
|
||||
None => Vec::new(),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user