Skip to content

Commit

Permalink
fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
silva-fj committed Sep 11, 2024
1 parent 06c870b commit b77df08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub const VERYFY_EMAIL_TEMPLATE: &str = r#"
pub const EMAIL_VERIFICATION_TEMPLATE: &str = r#"
<!DOCTYPE html>
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};

Expand Down

0 comments on commit b77df08

Please sign in to comment.