diff --git a/server/notification-providers/resend.js b/server/notification-providers/resend.js index b15eced7a..cb255df09 100644 --- a/server/notification-providers/resend.js +++ b/server/notification-providers/resend.js @@ -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,