Update server/notification-providers/resend.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Nityanand Thakur
2025-12-31 09:54:20 +05:30
committed by GitHub
parent 49273f94ef
commit f74834e4ca
+1 -3
View File
@@ -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,