don't refresh for a refund that didn't get applied
This commit is contained in:
parent
2b7fff323d
commit
5e77b222d5
@ -481,7 +481,6 @@ async function processPurchaseApplyRefundImpl(
|
|||||||
groups[r.refundGroupId] = true;
|
groups[r.refundGroupId] = true;
|
||||||
delete p.refundState.refundsPending[pk];
|
delete p.refundState.refundsPending[pk];
|
||||||
p.refundState.refundsFailed[pk] = r;
|
p.refundState.refundsFailed[pk] = r;
|
||||||
await modCoin(r.perm);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const pk of Object.keys(newRefundsDone)) {
|
for (const pk of Object.keys(newRefundsDone)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user