fix: update share email

This commit is contained in:
KernelDeimos
2024-11-19 10:28:42 -05:00
parent 4cc63b2580
commit 7e7234b2f3
2 changed files with 8 additions and 1 deletions
+7 -1
View File
@@ -143,7 +143,13 @@ If this was not you, please contact support@puter.com immediately.
},
'share_by_email': {
subject: 'share by email',
html: `testing: {{link}}`
html: `
<p>Hi there,</p>
<p>You've received a share from {{sender_name}} on Puter:</p>
<p>{{link}}</p>
<p>Sincerely,</p>
<p>Puter</p>
`
},
}
@@ -591,6 +591,7 @@ module.exports = new Sequence([
await svc_email.send_email({ email }, 'share_by_email', {
link: email_link,
sender_name: actor.type.user.username,
});
}
},