Fix incorrect update target

This commit is contained in:
Ravi Khadiwala 2024-11-12 16:00:43 -06:00 committed by Chris Eager
parent ecbb2f1399
commit 1eba04d37b
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ public class BackupAuthManager {
return accountsManager.updateAsync(account, a -> {
final Account.BackupVoucher newPayment = new Account.BackupVoucher(receiptLevel, receiptExpiration);
final Account.BackupVoucher existingPayment = a.getBackupVoucher();
account.setBackupVoucher(merge(existingPayment, newPayment));
a.setBackupVoucher(merge(existingPayment, newPayment));
});
})
.thenRun(Util.NOOP);