Skip to content

Commit 7886e67

Browse files
authored
email: Add trustpub_ prefix to corresponding email template names (#11975)
1 parent d90d3ab commit 7886e67

File tree

6 files changed

+2
-2
lines changed

6 files changed

+2
-2
lines changed

src/controllers/trustpub/github_configs/create/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async fn send_notification_email(
144144
email_address: &str,
145145
context: minijinja::Value,
146146
) -> anyhow::Result<()> {
147-
let email = EmailMessage::from_template("config_created", context)
147+
let email = EmailMessage::from_template("trustpub_config_created", context)
148148
.context("Failed to render email template")?;
149149

150150
state

src/controllers/trustpub/github_configs/delete/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async fn send_notification_email(
9898
email_address: &str,
9999
context: minijinja::Value,
100100
) -> anyhow::Result<()> {
101-
let email = EmailMessage::from_template("config_deleted", context)
101+
let email = EmailMessage::from_template("trustpub_config_deleted", context)
102102
.context("Failed to render email template")?;
103103

104104
state
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)