From 6271f3bb1a7c6303e49285faad63f910ca007ded Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 24 Jan 2026 18:15:23 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../server/src/utils/notifications/build-error.ts | 13 +++++++++++-- .../server/src/utils/notifications/build-success.ts | 13 +++++++++++-- .../src/utils/notifications/database-backup.ts | 13 +++++++++++-- .../src/utils/notifications/docker-cleanup.ts | 13 +++++++++++-- .../src/utils/notifications/dokploy-restart.ts | 13 +++++++++++-- 5 files changed, 55 insertions(+), 10 deletions(-) diff --git a/packages/server/src/utils/notifications/build-error.ts b/packages/server/src/utils/notifications/build-error.ts index a46435051..08eef4df8 100644 --- a/packages/server/src/utils/notifications/build-error.ts +++ b/packages/server/src/utils/notifications/build-error.ts @@ -54,8 +54,17 @@ export const sendBuildErrorNotifications = async ({ }); for (const notification of notificationList) { - const { email, resend, discord, telegram, slack, gotify, ntfy, custom, lark } = - notification; + const { + email, + resend, + discord, + telegram, + slack, + gotify, + ntfy, + custom, + lark, + } = notification; try { if (email || resend) { const template = await renderAsync( diff --git a/packages/server/src/utils/notifications/build-success.ts b/packages/server/src/utils/notifications/build-success.ts index 92351130a..a30a00ccc 100644 --- a/packages/server/src/utils/notifications/build-success.ts +++ b/packages/server/src/utils/notifications/build-success.ts @@ -57,8 +57,17 @@ export const sendBuildSuccessNotifications = async ({ }); for (const notification of notificationList) { - const { email, resend, discord, telegram, slack, gotify, ntfy, custom, lark } = - notification; + const { + email, + resend, + discord, + telegram, + slack, + gotify, + ntfy, + custom, + lark, + } = notification; try { if (email || resend) { const template = await renderAsync( diff --git a/packages/server/src/utils/notifications/database-backup.ts b/packages/server/src/utils/notifications/database-backup.ts index 7bdd7cb8b..88f8f5f82 100644 --- a/packages/server/src/utils/notifications/database-backup.ts +++ b/packages/server/src/utils/notifications/database-backup.ts @@ -54,8 +54,17 @@ export const sendDatabaseBackupNotifications = async ({ }); for (const notification of notificationList) { - const { email, resend, discord, telegram, slack, gotify, ntfy, custom, lark } = - notification; + const { + email, + resend, + discord, + telegram, + slack, + gotify, + ntfy, + custom, + lark, + } = notification; try { if (email || resend) { const template = await renderAsync( diff --git a/packages/server/src/utils/notifications/docker-cleanup.ts b/packages/server/src/utils/notifications/docker-cleanup.ts index cfe11590d..40434ac73 100644 --- a/packages/server/src/utils/notifications/docker-cleanup.ts +++ b/packages/server/src/utils/notifications/docker-cleanup.ts @@ -41,8 +41,17 @@ export const sendDockerCleanupNotifications = async ( }); for (const notification of notificationList) { - const { email, resend, discord, telegram, slack, gotify, ntfy, custom, lark } = - notification; + const { + email, + resend, + discord, + telegram, + slack, + gotify, + ntfy, + custom, + lark, + } = notification; try { if (email || resend) { const template = await renderAsync( diff --git a/packages/server/src/utils/notifications/dokploy-restart.ts b/packages/server/src/utils/notifications/dokploy-restart.ts index 2e80edf55..9cb88e6d5 100644 --- a/packages/server/src/utils/notifications/dokploy-restart.ts +++ b/packages/server/src/utils/notifications/dokploy-restart.ts @@ -35,8 +35,17 @@ export const sendDokployRestartNotifications = async () => { }); for (const notification of notificationList) { - const { email, resend, discord, telegram, slack, gotify, ntfy, custom, lark } = - notification; + const { + email, + resend, + discord, + telegram, + slack, + gotify, + ntfy, + custom, + lark, + } = notification; try { if (email || resend) {