feat: add database name in database backup notification

This commit is contained in:
Douglas Camargo
2025-06-23 22:35:40 -03:00
parent 2a89be6efc
commit 499022a328
6 changed files with 23 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ export const runPostgresBackup = async (
databaseType: "postgres",
type: "success",
organizationId: project.organizationId,
databaseName: backup.database
});
await updateDeploymentStatus(deployment.deploymentId, "done");
@@ -62,6 +63,7 @@ export const runPostgresBackup = async (
// @ts-ignore
errorMessage: error?.message || "Error message not provided",
organizationId: project.organizationId,
databaseName: backup.database
});
await updateDeploymentStatus(deployment.deploymentId, "error");