From aa6dd078d26bf4f69c4e0c3b893ff075f77c2a36 Mon Sep 17 00:00:00 2001 From: Georgia Monahan <38015950+grgia@users.noreply.github.com> Date: Tue, 22 Oct 2024 17:27:48 +0900 Subject: [PATCH] Merge pull request #51226 from Expensify/georgia-firebaseLoginCrash [CP Staging] [Firebase] replace empty string with `'N/A'` (cherry picked from commit f3d92cef4797d506d1b334fef8f168fd5cc9dcd5) (CP triggered by Beamanator) --- src/libs/Firebase/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/Firebase/utils.ts b/src/libs/Firebase/utils.ts index 0235953bfcd3..4f7718e691ed 100644 --- a/src/libs/Firebase/utils.ts +++ b/src/libs/Firebase/utils.ts @@ -26,8 +26,8 @@ function getAttributes(): FirebaseAttributes { transactionViolationsLength, policiesLength, transactionsLength, - policyType: policy?.type ?? '', - policyRole: policy?.role ?? '', + policyType: policy?.type ?? 'N/A', + policyRole: policy?.role ?? 'N/A', }; }