diff --git a/models/notification/src/index.ts b/models/notification/src/index.ts index a6d814f25c..81c2a8f86c 100644 --- a/models/notification/src/index.ts +++ b/models/notification/src/index.ts @@ -147,7 +147,7 @@ export function createModel (builder: Builder): void { hidden: false, textTemplate: '{sender} mentioned you in {doc} {data}', htmlTemplate: '
{sender} mentioned you in {doc}
{data}', - subjectTemplate: 'You was mentioned in {doc}' + subjectTemplate: 'You were mentioned in {doc}' }, notification.ids.MentionNotification ) diff --git a/server/account/src/index.ts b/server/account/src/index.ts index 5b59eba5f4..2a49e31586 100644 --- a/server/account/src/index.ts +++ b/server/account/src/index.ts @@ -925,12 +925,12 @@ export async function sendInvite (db: Db, productId: string, token: string, emai const inviteId = await getInviteLink(db, productId, token, exp, email, 1) const link = concatLink(front, `/login/join?inviteId=${inviteId.toString()}`) - const text = `You was invited to ${workspace.workspace}. To join please paste the following link in your web browser's address bar: ${link}. Link valid for ${expHours} hours.` + const text = `You were invited to ${workspace.workspace}. To join please paste the following link in your web browser's address bar: ${link}. Link valid for ${expHours} hours.` - const html = `You was invited to ${workspace.workspace}. To join, please click the link below: Join
+ const html = `
You were invited to ${workspace.workspace}. To join, please click the link below: Join
If the invite link above does not work, paste the following link in your web browser's address bar: ${link}
Link valid for ${expHours} hours.
` - const subject = `Inivte to ${workspace.workspace}` + const subject = `Invite to ${workspace.workspace}` const to = email await fetch(concatLink(sesURL, '/send'), { method: 'post',