Whitelist

This commit is contained in:
Manav Rathi 2024-05-11 18:48:54 +05:30
parent bb63e13ba3
commit 131af10cc5
No known key found for this signature in database

View file

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