Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Whitelist

Manav Rathi131af10cc5ff
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();
};