From 40beae6d593bd04ec7ce0e0af30a24ba7f475838 Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Tue, 13 Aug 2024 11:54:34 -0600 Subject: [PATCH] Merge pull request #47345 from Expensify/nikki-temp-website-default [CP Staging] Temporarily returns "https://" as the default website (cherry picked from commit 760d3768c3f9df25de143e46302145a2781ffabf) (CP triggered by Beamanator) --- src/libs/BankAccountUtils.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libs/BankAccountUtils.ts b/src/libs/BankAccountUtils.ts index c781ccab3f33..7088b01f83f9 100644 --- a/src/libs/BankAccountUtils.ts +++ b/src/libs/BankAccountUtils.ts @@ -1,9 +1,10 @@ -import {Str} from 'expensify-common'; import type {OnyxEntry} from 'react-native-onyx'; import type * as OnyxTypes from '@src/types/onyx'; +// eslint-disable-next-line @typescript-eslint/no-unused-vars function getDefaultCompanyWebsite(session: OnyxEntry, user: OnyxEntry): string { - return user?.isFromPublicDomain ? 'https://' : `https://www.${Str.extractEmailDomain(session?.email ?? '')}`; + // temporarily always return https:// to fix https://github.com/Expensify/App/issues/47227 until https://github.com/Expensify/App/issues/45278 is resolved. + return 'https://'; } function getLastFourDigits(bankAccountNumber: string): string {