Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: error invite email title (#4355)

Qi1016a47b5198
diff --git a/apps/server/src/modules/auth/mailer/mail.service.ts b/apps/server/src/modules/auth/mailer/mail.service.ts
index da8832bc79..7ffe1101f2 100644
--- a/apps/server/src/modules/auth/mailer/mail.service.ts
+++ b/apps/server/src/modules/auth/mailer/mail.service.ts
@@ -86,7 +86,7 @@ export class MailService {
return this.sendMail({
from: this.config.auth.email.sender,
to,
- subject: `${invitationInfo.user.name} invited you to join ${invitationInfo.workspace}`,
+ subject: `${invitationInfo.user.name} invited you to join ${invitationInfo.workspace.name}`,
html,
attachments: [
{