[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-03-30 22:49:52 +00:00
committed by GitHub
parent 450d591c1a
commit 9b108480a8
3 changed files with 103 additions and 106 deletions

View File

@@ -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;
}

View File

@@ -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 ({
});
}
}
};
};