From 06284202eea6f0176712d86bf81d3ce296a8faf8 Mon Sep 17 00:00:00 2001 From: NikkiWines Date: Tue, 13 Aug 2024 19:35:09 +0200 Subject: [PATCH] temporarily always return 'https://' --- 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 {