Skip to content

Commit

Permalink
Merge pull request #51252 from Expensify/vit-corporateCardCallabck
Browse files Browse the repository at this point in the history
[NoQA] Add isNewDot param to the corporate card callback route
  • Loading branch information
robertjchen authored Oct 22, 2024
2 parents 3e27050 + 7c58422 commit f535280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/actions/getCompanyCardBankConnection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ type CompanyCardBankConnection = {
domainName: string;
scrapeMinDate: string;
isCorporate: string;
isNewDot: string;
};

// TODO remove this when BE will support bank UI callbacks
Expand All @@ -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: '',
Expand Down

0 comments on commit f535280

Please sign in to comment.