summaryrefslogtreecommitdiff
path: root/src/operations/history.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/operations/history.ts')
-rw-r--r--src/operations/history.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/operations/history.ts b/src/operations/history.ts
index efbfbf377..f32dbbe2d 100644
--- a/src/operations/history.ts
+++ b/src/operations/history.ts
@@ -453,8 +453,8 @@ export async function getHistory(
let amountRefundedRaw = Amounts.getZero(purchaseAmount.currency);
let amountRefundedInvalid = Amounts.getZero(purchaseAmount.currency);
let amountRefundedEffective = Amounts.getZero(purchaseAmount.currency);
- Object.keys(purchase.refundState.refundsDone).forEach((x, i) => {
- const r = purchase.refundState.refundsDone[x];
+ Object.keys(purchase.refundsDone).forEach((x, i) => {
+ const r = purchase.refundsDone[x];
if (r.refundGroupId !== re.refundGroupId) {
return;
}
@@ -471,8 +471,8 @@ export async function getHistory(
refundFee,
).amount;
});
- Object.keys(purchase.refundState.refundsFailed).forEach((x, i) => {
- const r = purchase.refundState.refundsFailed[x];
+ Object.keys(purchase.refundsFailed).forEach((x, i) => {
+ const r = purchase.refundsFailed[x];
if (r.refundGroupId !== re.refundGroupId) {
return;
}