From ddbb09b1403214cff3e5a598dc51bdf37df72971 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 8 Sep 2020 20:45:33 +0530 Subject: DB tweaks --- packages/taler-wallet-core/src/operations/refund.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src/operations/refund.ts') 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, -- cgit v1.2.3