mirror of https://github.com/certd/certd
chore:
parent
e1e5347476
commit
71b5aaf8ab
|
@ -89,7 +89,7 @@ export class EmailService implements IEmailService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let subject = email.subject;
|
let subject = email.subject;
|
||||||
if (!subject.startsWith(`【${sysTitle}】`)) {
|
if (!subject.includes(`【${sysTitle}】`)) {
|
||||||
subject = `【${sysTitle}】${subject}`;
|
subject = `【${sysTitle}】${subject}`;
|
||||||
}
|
}
|
||||||
const mailOptions = {
|
const mailOptions = {
|
||||||
|
|
Loading…
Reference in New Issue