mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Fix typos (#2873)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
083f34350a
commit
085d66fab3
@ -147,7 +147,7 @@ export function createModel (builder: Builder): void {
|
||||
hidden: false,
|
||||
textTemplate: '{sender} mentioned you in {doc} {data}',
|
||||
htmlTemplate: '<p><b>{sender}</b> mentioned you in {doc}</p> {data}',
|
||||
subjectTemplate: 'You was mentioned in {doc}'
|
||||
subjectTemplate: 'You were mentioned in {doc}'
|
||||
},
|
||||
notification.ids.MentionNotification
|
||||
)
|
||||
|
@ -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 = `<p>You was invited to ${workspace.workspace}. To join, please click the link below: <a href=${link}>Join</a></p><p>
|
||||
const html = `<p>You were invited to ${workspace.workspace}. To join, please click the link below: <a href=${link}>Join</a></p><p>
|
||||
If the invite link above does not work, paste the following link in your web browser's address bar: ${link}
|
||||
</p><p>Link valid for ${expHours} hours.</p>`
|
||||
const subject = `Inivte to ${workspace.workspace}`
|
||||
const subject = `Invite to ${workspace.workspace}`
|
||||
const to = email
|
||||
await fetch(concatLink(sesURL, '/send'), {
|
||||
method: 'post',
|
||||
|
Loading…
Reference in New Issue
Block a user