mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-03 04:55:23 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -124,11 +124,11 @@ export const runWebServerBackup = async (backup: BackupSchedule) => {
|
||||
);
|
||||
writeStream.end();
|
||||
await sendDokployBackupNotifications({
|
||||
type: "error",
|
||||
// @ts-ignore
|
||||
errorMessage: error?.message || "Error message not provided",
|
||||
backupSize: formatBytes(computedBackupSize),
|
||||
});
|
||||
type: "error",
|
||||
// @ts-ignore
|
||||
errorMessage: error?.message || "Error message not provided",
|
||||
backupSize: formatBytes(computedBackupSize),
|
||||
});
|
||||
await updateDeploymentStatus(deployment.deploymentId, "error");
|
||||
throw error;
|
||||
}
|
||||
|
||||
@@ -51,11 +51,7 @@ export const sendDokployBackupNotifications = async ({
|
||||
backupSize,
|
||||
}),
|
||||
).catch();
|
||||
await sendEmailNotification(
|
||||
email,
|
||||
"Dokploy instance backup",
|
||||
template,
|
||||
);
|
||||
await sendEmailNotification(email, "Dokploy instance backup", template);
|
||||
}
|
||||
|
||||
if (discord) {
|
||||
@@ -319,4 +315,4 @@ export const sendDokployBackupNotifications = async ({
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user