From 1b82b663aa7e763bf982e41759fa071033e4d991 Mon Sep 17 00:00:00 2001 From: Jhonatan Gonzalez Date: Tue, 23 Jul 2024 15:10:37 +1000 Subject: [PATCH] [NO CHANGELOG][Sale Widget] fix type error (#1998) --- .../checkout/widgets-lib/src/widgets/sale/utils/analytics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/checkout/widgets-lib/src/widgets/sale/utils/analytics.ts b/packages/checkout/widgets-lib/src/widgets/sale/utils/analytics.ts index 9f7d2137a6..2d9ec5ef9e 100644 --- a/packages/checkout/widgets-lib/src/widgets/sale/utils/analytics.ts +++ b/packages/checkout/widgets-lib/src/widgets/sale/utils/analytics.ts @@ -8,7 +8,7 @@ export const getPaymentTokenDetails = ( ): SalePaymentToken => { const { fundingItem } = fundingBalance; return ({ - settlementType: fundingBalance.type, + settlementType: `${fundingBalance.type}`, type: fundingItem.type, token: fundingItem.token, amount: fundingItem.fundsRequired.formattedAmount,