From 9f02830ae5deb1fa11abac95a38aed43e4096be5 Mon Sep 17 00:00:00 2001 From: Siddharth Tiwari Date: Thu, 18 Jan 2024 12:19:15 +0530 Subject: [PATCH] chore: fix format --- src/app/operations/auth.rs | 2 +- src/client/requests/auth.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/operations/auth.rs b/src/app/operations/auth.rs index a7844cd..e8f82eb 100644 --- a/src/app/operations/auth.rs +++ b/src/app/operations/auth.rs @@ -38,4 +38,4 @@ impl App { println!("User logged out successfully!"); Ok(()) } -} \ No newline at end of file +} diff --git a/src/client/requests/auth.rs b/src/client/requests/auth.rs index 6564824..f649303 100644 --- a/src/client/requests/auth.rs +++ b/src/client/requests/auth.rs @@ -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, }; @@ -73,7 +73,7 @@ impl GaloyClient { Ok(auth_token) } - + pub async fn create_captcha_challenge(&self) -> Result { let client = Client::builder().build().expect("Can't build client"); let variables = captcha_create_challenge::Variables;