summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-08 20:45:33 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-08 20:45:33 +0530
commitddbb09b1403214cff3e5a598dc51bdf37df72971 (patch)
tree0238eb77bbfb623e98b9660e1eac53c88a74e66f /packages/taler-wallet-core/src/operations/refund.ts
parentf79d10eea291acba42dd27e5900d2128a1242daa (diff)
downloadwallet-core-ddbb09b1403214cff3e5a598dc51bdf37df72971.tar.gz
wallet-core-ddbb09b1403214cff3e5a598dc51bdf37df72971.tar.bz2
wallet-core-ddbb09b1403214cff3e5a598dc51bdf37df72971.zip
DB tweaks
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refund.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/refund.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/refund.ts b/packages/taler-wallet-core/src/operations/refund.ts
index d49675c09..097e20863 100644
--- a/packages/taler-wallet-core/src/operations/refund.ts
+++ b/packages/taler-wallet-core/src/operations/refund.ts
@@ -470,7 +470,7 @@ export async function applyRefund(
return {
contractTermsHash: purchase.contractData.contractTermsHash,
proposalId: purchase.proposalId,
- amountEffectivePaid: Amounts.stringify(purchase.payCostInfo.totalCost),
+ amountEffectivePaid: Amounts.stringify(purchase.totalPayCost),
amountRefundGone: Amounts.stringify(amountRefundGone),
amountRefundGranted: Amounts.stringify(amountRefundGranted),
pendingAtExchange,