Update server/notification-providers/resend.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
49273f94ef
commit
f74834e4ca
@ -20,9 +20,7 @@ class Resend extends NotificationProvider {
|
||||
config = this.getAxiosConfigWithProxy(config);
|
||||
const email = notification.resendFromEmail.trim();
|
||||
|
||||
const fromName = notification.resendFromName?.trim()
|
||||
? notification.resendFromName.trim()
|
||||
: "Uptime Kuma";
|
||||
const fromName = notification.resendFromName?.trim() || "Uptime Kuma";
|
||||
let data = {
|
||||
from: `${fromName} <${email}>`,
|
||||
to: notification.resendToEmail,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user