Skip to content

Commit

Permalink
chore: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhart1o1 committed Jan 18, 2024
1 parent bdd2862 commit 9f02830
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/operations/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ impl App {
println!("User logged out successfully!");
Ok(())
}
}
}
6 changes: 3 additions & 3 deletions src/client/requests/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use serde_json::{json, Value};
use crate::client::{
errors::{api_error::ApiError, ClientError},
queries::{
captcha_create_challenge, user_login, CaptchaChallenge,
CaptchaCreateChallenge, UserLogin, UserLoginInput,
captcha_create_challenge, user_login, CaptchaChallenge, CaptchaCreateChallenge, UserLogin,
UserLoginInput,
},
GaloyClient,
};
Expand Down Expand Up @@ -73,7 +73,7 @@ impl GaloyClient {

Ok(auth_token)
}

pub async fn create_captcha_challenge(&self) -> Result<CaptchaChallenge, ClientError> {
let client = Client::builder().build().expect("Can't build client");
let variables = captcha_create_challenge::Variables;
Expand Down

0 comments on commit 9f02830

Please sign in to comment.