From 90f5cea3479bea991e8c8843d67a1794509c62d7 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Wed, 18 Dec 2024 14:14:05 +0100 Subject: [PATCH] Fix build --- crates/bitwarden-wasm-internal/src/ssh.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }