Skip to content

Commit 22091c4

Browse files
FIX (notifications): Fix not sent notifications on completed backup
1 parent ae280cb commit 22091c4

File tree

1 file changed

+1
-1
lines changed
  • backend/internal/features/backups/backups

1 file changed

+1
-1
lines changed

backend/internal/features/backups/backups/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (s *BackupService) MakeBackup(databaseID uuid.UUID, isLastTry bool) {
242242
)
243243
}
244244

245-
if !isLastTry {
245+
if backup.Status != BackupStatusCompleted && !isLastTry {
246246
return
247247
}
248248

0 commit comments

Comments
 (0)