Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update template

vishnukvmda11ea3b41b39
diff --git a/server/mail-templates/subscription_cancelled.html b/server/mail-templates/subscription_cancelled.html
index 512b6d0872..b242875332 100644
--- a/server/mail-templates/subscription_cancelled.html
+++ b/server/mail-templates/subscription_cancelled.html
@@ -105,7 +105,7 @@
<p>Thank you for giving Ente a shot, and apologies for not meeting your expectations.</p>
- <p>This is my personal email address. Please let me know what we could have done better, I'd be grateful for feedback!</p>
+ <p>This is my personal email address. Please let me know what we could have done better, we'd be grateful for feedback!</p>
<p>Best,
<br/>
diff --git a/server/pkg/controller/email/email_notification.go b/server/pkg/controller/email/email_notification.go
index cae3700850..6f4048d603 100644
--- a/server/pkg/controller/email/email_notification.go
+++ b/server/pkg/controller/email/email_notification.go
@@ -122,7 +122,7 @@ func (c *EmailNotificationController) OnSubscriptionCancelled(userID int64) {
return
}
log.Info(fmt.Sprintf("Emailing on subscription cancellation %d", user.ID))
- err = email.SendTemplatedEmail([]string{user.Email}, "[email protected]", "[email protected]", SubscriptionUpgradedSubject, SubscriptionUpgradedTemplate, nil, nil)
+ err = email.SendTemplatedEmail([]string{user.Email}, "[email protected]", "[email protected]", SubscriptionCancelledSubject, SubscriptionCancelledTemplate, nil, nil)
if err != nil {
log.Error("Error sending email", err)
}