From 7c58422e16853d673c6bdb0bff03b15c93577698 Mon Sep 17 00:00:00 2001 From: Vit Horacek Date: Tue, 22 Oct 2024 22:18:12 +0900 Subject: [PATCH] Add isNewDot param to the corporate card callback route --- src/libs/actions/getCompanyCardBankConnection/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/actions/getCompanyCardBankConnection/index.tsx b/src/libs/actions/getCompanyCardBankConnection/index.tsx index 935c5d297cb0..0e0c0f6789b7 100644 --- a/src/libs/actions/getCompanyCardBankConnection/index.tsx +++ b/src/libs/actions/getCompanyCardBankConnection/index.tsx @@ -7,6 +7,7 @@ type CompanyCardBankConnection = { domainName: string; scrapeMinDate: string; isCorporate: string; + isNewDot: string; }; // TODO remove this when BE will support bank UI callbacks @@ -24,7 +25,7 @@ export default function getCompanyCardBankConnection(bankName?: string, domainNa return null; } const authToken = NetworkStore.getAuthToken(); - const params: CompanyCardBankConnection = {authToken: authToken ?? '', domainName: domainName ?? '', isCorporate: 'true', scrapeMinDate: scrapeMinDate ?? ''}; + const params: CompanyCardBankConnection = {authToken: authToken ?? '', isNewDot: 'true', domainName: domainName ?? '', isCorporate: 'true', scrapeMinDate: scrapeMinDate ?? ''}; const commandURL = getApiRoot({ shouldSkipWebProxy: true, command: '',