fix: no need to send email out, the wolves ID is enough

relates to #21
This commit is contained in:
silver 2023-09-16 14:01:47 +01:00
parent dc142e8521
commit 35952a2030

View file

@ -35,7 +35,6 @@ pub mod account {
#[derive(Debug, Deserialize, Serialize)]
pub struct DiscordResult {
discord: String,
email: String,
wolves_id: String,
}
@ -59,7 +58,6 @@ pub mod account {
if !accounts.is_empty() {
let tmp = DiscordResult {
discord,
email: item.mail,
wolves_id: accounts[0].id_wolves.to_owned(),
};