Skip to content

Commit 959ce00

Browse files
MOL-687
- fix eslint
1 parent 444638b commit 959ce00

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

application/src/components/welcome/welcome.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,10 @@ const Welcome = () => {
223223
onSortChange={tableSorting.onChange}
224224
onRowClick={(row) => {
225225
push(
226-
`${match.url}/${customObjectsPaginatedResult?.results.filter(
227-
(obj) => obj.key === row.id
228-
)?.[0]?.id
226+
`${match.url}/${
227+
customObjectsPaginatedResult?.results.filter(
228+
(obj) => obj.key === row.id
229+
)?.[0]?.id
229230
}/general`
230231
);
231232
}}

processor/src/service/payment.service.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,9 @@ export const handleCreatePayment = async (ctPayment: Payment): Promise<Controlle
503503
logger.debug(`SCTM - handleCreatePayment - Calculating total surcharge amount`);
504504
const surchargeAmountInCent = pricingConstraint
505505
? roundSurchargeAmountToCent(
506-
calculateTotalSurchargeAmount(ctPayment, pricingConstraint.surchargeCost),
507-
ctPayment.amountPlanned.fractionDigits,
508-
)
506+
calculateTotalSurchargeAmount(ctPayment, pricingConstraint.surchargeCost),
507+
ctPayment.amountPlanned.fractionDigits,
508+
)
509509
: 0;
510510

511511
const paymentParams = createMollieCreatePaymentParams(
@@ -633,7 +633,7 @@ export const handleCreateRefund = async (ctPayment: Payment): Promise<Controller
633633
transaction.type === CTTransactionType.Charge &&
634634
transaction.state === CTTransactionState.Success &&
635635
transaction.interactionId ===
636-
initialRefundTransaction?.custom?.fields[CustomFields.transactions.fields.molliePaymentIdToRefund.name],
636+
initialRefundTransaction?.custom?.fields[CustomFields.transactions.fields.molliePaymentIdToRefund.name],
637637
);
638638
} else {
639639
logger.debug('SCTM - handleCreateRefund - creating a refund for the latest success charge transaction');
@@ -707,7 +707,7 @@ export const handlePaymentCancelRefund = async (ctPayment: Payment): Promise<Con
707707
transaction.type === CTTransactionType.Charge &&
708708
transaction.state === CTTransactionState.Success &&
709709
transaction.interactionId ===
710-
pendingRefundTransaction?.custom?.fields[CustomFields.transactions.fields.molliePaymentIdToRefund.name],
710+
pendingRefundTransaction?.custom?.fields[CustomFields.transactions.fields.molliePaymentIdToRefund.name],
711711
) as Transaction;
712712
}
713713

0 commit comments

Comments
 (0)