Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix project transfer email subject

Blue Mouse4880ed779295
diff --git a/src/mailer/mailer.service.ts b/src/mailer/mailer.service.ts
index 69e087c51..570a6d461 100644
--- a/src/mailer/mailer.service.ts
+++ b/src/mailer/mailer.service.ts
@@ -88,7 +88,7 @@ const metaInfoJson = {
},
[LetterTemplate.ProjectTransfer]: {
subject: {
- en: () => 'You have been invited to join the project.',
+ en: (p: Params) => `A Swetrix user offers to transfer ${p.name} project to your account.`,
},
},
}
@@ -113,7 +113,7 @@ const mailClient = new postmark.ServerClient(process.env.SMTP_PASSWORD)
@Injectable()
export class MailerService {
- constructor(private readonly logger: AppLoggerService) {}
+ constructor(private readonly logger: AppLoggerService) { }
async sendEmail(
email: string,