mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-27 16:55:25 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -61,16 +61,8 @@ export const sendVolumeBackupNotifications = async ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
for (const notification of notificationList) {
|
for (const notification of notificationList) {
|
||||||
const {
|
const { email, resend, discord, telegram, slack, gotify, ntfy, pushover } =
|
||||||
email,
|
notification;
|
||||||
resend,
|
|
||||||
discord,
|
|
||||||
telegram,
|
|
||||||
slack,
|
|
||||||
gotify,
|
|
||||||
ntfy,
|
|
||||||
pushover,
|
|
||||||
} = notification;
|
|
||||||
|
|
||||||
if (email || resend) {
|
if (email || resend) {
|
||||||
const subject = `Volume Backup ${type === "success" ? "Successful" : "Failed"} - ${applicationName}`;
|
const subject = `Volume Backup ${type === "success" ? "Successful" : "Failed"} - ${applicationName}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user