@smbcloud / cli / commits / 7a554b3

cleanup

Seto committed Oct 10, 2025 at 10:49 UTC 7a554b3838fe7626b0a538f7be250104b8d0206d
1 file changed -7
crates/cli/src/account/forgot/mod.rs
-7
@@ -5,7 +5,6 @@ use crate::{
5 use anyhow::Result;
6 use dialoguer::{theme::ColorfulTheme, Input, Password};
7 use reqwest::{Client, StatusCode};
8 -use serde::{Deserialize, Serialize};
8 use smbcloud_model::forgot::{Args, Email, Param, UserUpdatePassword};
9 use smbcloud_network::environment::Environment;
10 use smbcloud_networking::{constants::PATH_USERS_PASSWORD, smb_base_url_builder};
@@ -96,12 +95,6 @@ async fn input_code(env: Environment) -> Result<CommandResult> {
95 .send()
96 .await?;
97
99 - #[derive(Debug, Serialize, Deserialize)]
100 - struct Response {
101 - status: i32,
102 - email: Option<String>,
103 - }
104 -
98 match response.status() {
99 StatusCode::OK => Ok(CommandResult {
100 spinner,