Fix incorrect update target

This commit is contained in:
Ravi Khadiwala authored and Chris Eager committed 2024-11-15 14:11:55 -06:00
1 parent ecbb2f1399
commit 1eba04d37b
1 file changed
+1 -1
@@ -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);