fix error in refund retry

This commit is contained in:
Florian Dold 2020-01-19 17:14:43 +01:00
parent fd5f3977bb
commit 337a59566c
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1,6 +1,6 @@
/*
This file is part of GNU Taler
(C) 2019 Taler Systems S.A.
(C) 2019-2019 Taler Systems S.A.
GNU Taler is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@ -92,7 +92,7 @@ async function incrementPurchaseApplyRefundRetry(
return;
}
pr.refundApplyRetryInfo.retryCounter++;
updateRetryInfoTimeout(pr.refundStatusRetryInfo);
updateRetryInfoTimeout(pr.refundApplyRetryInfo);
pr.lastRefundApplyError = err;
await tx.put(Stores.purchases, pr);
});