Skip to content

Commit fca16b5

Browse files
committed
fix: rolling id
1 parent 31ccf8d commit fca16b5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

libraries/nestjs-libraries/src/services/email.service.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ export class EmailService {
3333
}
3434
}
3535

36-
async sendEmail(to: string, subject: string, html: string, sendTo: 'top' | 'bottom', replyTo?: string) {
36+
async sendEmail(
37+
to: string,
38+
subject: string,
39+
html: string,
40+
sendTo: 'top' | 'bottom',
41+
replyTo?: string
42+
) {
3743
return this._temporalService.client
3844
.getRawClient()
3945
?.workflow.signalWithStart('sendEmailWorkflow', {
@@ -108,6 +114,9 @@ export class EmailService {
108114
color: #1f2937;
109115
margin: 0;
110116
">${process.env.EMAIL_FROM_NAME}</h2>
117+
<div style="font-size: 12px">
118+
You can change your notification preferences in your <a href="${process.env.FRONTEND_URL}/settings">account settings.</a>
119+
</div>
111120
</div>
112121
</div>
113122
</div>

0 commit comments

Comments
 (0)