summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-01-13 00:51:30 +0100
committerFlorian Dold <florian@dold.me>2021-01-13 00:51:30 +0100
commit7de5ceaa74a2d0d99bf3699b0818c470d1202dc7 (patch)
tree5fce09345224adbe859e318befd2779702692fae /packages/taler-wallet-core/src/operations/refund.ts
parent050999a910837f8a5353b1584af2b03bd8dad93d (diff)
downloadwallet-core-7de5ceaa74a2d0d99bf3699b0818c470d1202dc7.tar.gz
wallet-core-7de5ceaa74a2d0d99bf3699b0818c470d1202dc7.tar.bz2
wallet-core-7de5ceaa74a2d0d99bf3699b0818c470d1202dc7.zip
auto format
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refund.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/refund.ts16
1 files changed, 11 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/operations/refund.ts b/packages/taler-wallet-core/src/operations/refund.ts
index 7ffcdb6d9..13df438e4 100644
--- a/packages/taler-wallet-core/src/operations/refund.ts
+++ b/packages/taler-wallet-core/src/operations/refund.ts
@@ -503,7 +503,9 @@ export async function applyRefund(
let amountRefundGranted = Amounts.getZero(
purchase.download.contractData.amount.currency,
);
- let amountRefundGone = Amounts.getZero(purchase.download.contractData.amount.currency);
+ let amountRefundGone = Amounts.getZero(
+ purchase.download.contractData.amount.currency,
+ );
let pendingAtExchange = false;
@@ -545,7 +547,8 @@ export async function applyRefund(
summary: purchase.download.contractData.summary,
fulfillmentMessage: purchase.download.contractData.fulfillmentMessage,
summary_i18n: purchase.download.contractData.summaryI18n,
- fulfillmentMessage_i18n: purchase.download.contractData.fulfillmentMessageI18n,
+ fulfillmentMessage_i18n:
+ purchase.download.contractData.fulfillmentMessageI18n,
},
};
}
@@ -669,9 +672,12 @@ async function processPurchaseQueryRefundImpl(
purchase.payCoinSelection.coinContributions[i],
),
rtransaction_id: 0,
- execution_time: timestampAddDuration(purchase.download.contractData.timestamp, {
- d_ms: 1000,
- }),
+ execution_time: timestampAddDuration(
+ purchase.download.contractData.timestamp,
+ {
+ d_ms: 1000,
+ },
+ ),
});
}
await acceptRefunds(ws, proposalId, refunds, RefundReason.AbortRefund);