Whitelist
This commit is contained in:
parent
bb63e13ba3
commit
131af10cc5
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue