mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
chore: address Rust 1.83.0 clippy lints and enable more clippy lints (#6705)
This commit is contained in:
@ -216,12 +216,12 @@ pub async fn connect_account(
|
||||
.await;
|
||||
logger::info!(?send_email_result);
|
||||
|
||||
return Ok(ApplicationResponse::Json(
|
||||
Ok(ApplicationResponse::Json(
|
||||
user_api::ConnectAccountResponse {
|
||||
is_email_sent: send_email_result.is_ok(),
|
||||
user_id: user_from_db.get_user_id().to_string(),
|
||||
},
|
||||
));
|
||||
))
|
||||
} else if find_user
|
||||
.as_ref()
|
||||
.map_err(|e| e.current_context().is_db_not_found())
|
||||
|
||||
Reference in New Issue
Block a user