diff --git a/crates/bitwarden-wasm-internal/src/ssh.rs b/crates/bitwarden-wasm-internal/src/ssh.rs index 500245d0..f3e68d8e 100644 --- a/crates/bitwarden-wasm-internal/src/ssh.rs +++ b/crates/bitwarden-wasm-internal/src/ssh.rs @@ -10,7 +10,7 @@ pub fn generate_ssh_key( #[wasm_bindgen] pub fn import_ssh_key( imported_key: &str, - password: &str, + password: Option, ) -> Result { - bitwarden_ssh::import::import_key(imported_key.to_string(), password.to_string()) + bitwarden_ssh::import::import_key(imported_key.to_string(), password) }