From 71e726517d8d8c471c547211041ee3b303f01421 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Thu, 11 Jul 2024 22:54:05 +0800 Subject: [PATCH] filter out account id of -1 --- src/CONST.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CONST.ts b/src/CONST.ts index 50df9118a74e..61741dca0b6a 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -2391,7 +2391,7 @@ const CONST = { this.ACCOUNT_ID.REWARDS, this.ACCOUNT_ID.STUDENT_AMBASSADOR, this.ACCOUNT_ID.SVFG, - ]; + ].filter((id) => id !== -1); }, // Emails that profile view is prohibited