diff --git a/tee-worker/identity/litentry/core/identity-verification/src/web2/email/mailer/sendgrid_mailer.rs b/tee-worker/identity/litentry/core/identity-verification/src/web2/email/mailer/sendgrid_mailer.rs index 7d86cf49d8..f765b1186e 100644 --- a/tee-worker/identity/litentry/core/identity-verification/src/web2/email/mailer/sendgrid_mailer.rs +++ b/tee-worker/identity/litentry/core/identity-verification/src/web2/email/mailer/sendgrid_mailer.rs @@ -27,6 +27,7 @@ pub(crate) struct Email { #[derive(Serialize)] pub(crate) struct Content { + #[serde(rename(serialize = "type"))] content_type: String, value: String, } diff --git a/tee-worker/identity/litentry/core/identity-verification/src/web2/email/mailer/template.rs b/tee-worker/identity/litentry/core/identity-verification/src/web2/email/mailer/template.rs index b30cf260a2..a0a3484ea7 100644 --- a/tee-worker/identity/litentry/core/identity-verification/src/web2/email/mailer/template.rs +++ b/tee-worker/identity/litentry/core/identity-verification/src/web2/email/mailer/template.rs @@ -43,7 +43,7 @@ pub const EMAIL_VERIFICATION_TEMPLATE: &str = r#"
- Please use this verification code to link your email identity. + Please use this code to verify your email.  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏
@@ -58,7 +58,7 @@ pub const EMAIL_VERIFICATION_TEMPLATE: &str = r#" Email Verification

- Please use this verification code to link your email identity. + Please use this code to verify your email.