Skip to content

Commit

Permalink
chore(examples): cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuhvi committed Oct 2, 2024
1 parent 2b15826 commit ba66c3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/authn/signup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use clap::Parser;
use pubky::PubkyClient;
use std::path::PathBuf;

use pubky_common::{crypto::PublicKey};
use pubky_common::crypto::PublicKey;

#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
Expand All @@ -24,7 +24,7 @@ async fn main() -> Result<()> {

let homeserver = cli.homeserver;

let client = PubkyClient::builder().build() ;
let client = PubkyClient::builder().build();

println!("Enter your recovery_file's passphrase to signup:");
let passphrase = rpassword::read_password()?;
Expand All @@ -33,9 +33,9 @@ async fn main() -> Result<()> {

println!("Successfully decrypted the recovery file, signing up to the homeserver:");

client
.signup(&keypair, &PublicKey::try_from(homeserver).unwrap())
.await?;
client
.signup(&keypair, &PublicKey::try_from(homeserver).unwrap())
.await?;

println!("Successfully signed up. Checking session:");

Expand Down

0 comments on commit ba66c3c

Please sign in to comment.