don't refresh for a refund that didn't get applied

This commit is contained in:
Florian Dold 2020-01-19 20:02:15 +01:00
parent 2b7fff323d
commit 5e77b222d5
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -481,7 +481,6 @@ async function processPurchaseApplyRefundImpl(
groups[r.refundGroupId] = true;
delete p.refundState.refundsPending[pk];
p.refundState.refundsFailed[pk] = r;
await modCoin(r.perm);
}
for (const pk of Object.keys(newRefundsDone)) {