Fix incorrect update target
This commit is contained in:
parent
ecbb2f1399
commit
1eba04d37b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue