Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Dec 18, 2024
1 parent 1172d03 commit 90f5cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bitwarden-wasm-internal/src/ssh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn generate_ssh_key(
#[wasm_bindgen]
pub fn import_ssh_key(
imported_key: &str,
password: &str,
password: Option<String>,
) -> Result<bitwarden_ssh::SshKey, bitwarden_ssh::error::SshKeyImportError> {
bitwarden_ssh::import::import_key(imported_key.to_string(), password.to_string())
bitwarden_ssh::import::import_key(imported_key.to_string(), password)
}

0 comments on commit 90f5cea

Please sign in to comment.