From 131af10cc5ff21ce2a26255e29ecff826839c411 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 11 May 2024 18:48:54 +0530 Subject: [PATCH] Whitelist --- web/apps/photos/src/utils/user/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/apps/photos/src/utils/user/index.ts b/web/apps/photos/src/utils/user/index.ts index 68ffc9bbd7..0f8ef142fb 100644 --- a/web/apps/photos/src/utils/user/index.ts +++ b/web/apps/photos/src/utils/user/index.ts @@ -14,8 +14,8 @@ export const isInternalUser = () => { }; export const isInternalUserForML = () => { - const userId = (getData(LS_KEYS.USER) as User)?.id; - if (userId == 1) return true; + const userID = (getData(LS_KEYS.USER) as User)?.id; + if (userID == 1 || userID == 2) return true; return isInternalUser(); };