From b77df086568d6b8c43fe9705db613a24807208ac Mon Sep 17 00:00:00 2001 From: Francisco Silva Date: Wed, 11 Sep 2024 14:50:14 +0000 Subject: [PATCH] fixing typo --- .../identity-verification/src/web2/email/mailer/template.rs | 2 +- .../litentry/core/identity-verification/src/web2/email/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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), };