From f74834e4caf22d566c069c895c19c7c650730b5a Mon Sep 17 00:00:00 2001 From: Nityanand Thakur Date: Wed, 31 Dec 2025 09:54:20 +0530 Subject: [PATCH] Update server/notification-providers/resend.js Co-authored-by: Frank Elsinga --- server/notification-providers/resend.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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,