diff --git a/tee-worker/litentry/core/identity-verification/src/web2/email/mailer/template.rs b/tee-worker/litentry/core/identity-verification/src/web2/email/mailer/template.rs index 33e75347d1..b30cf260a2 100644 --- a/tee-worker/litentry/core/identity-verification/src/web2/email/mailer/template.rs +++ b/tee-worker/litentry/core/identity-verification/src/web2/email/mailer/template.rs @@ -1,4 +1,4 @@ -pub const VERYFY_EMAIL_TEMPLATE: &str = r#" +pub const EMAIL_VERIFICATION_TEMPLATE: &str = r#" diff --git a/tee-worker/litentry/core/identity-verification/src/web2/email/mod.rs b/tee-worker/litentry/core/identity-verification/src/web2/email/mod.rs index bc750c227b..c1fea32607 100644 --- a/tee-worker/litentry/core/identity-verification/src/web2/email/mod.rs +++ b/tee-worker/litentry/core/identity-verification/src/web2/email/mod.rs @@ -19,7 +19,7 @@ pub fn send_verification_email( let mail = mailer::Mail { to: to_email, subject: String::from("Verify your email address"), - body: template::VERYFY_EMAIL_TEMPLATE + body: template::EMAIL_VERIFICATION_TEMPLATE .replace("{{ verification_code }}", &verification_code), };