forked from FoundKeyGang/FoundKey
fix reference error from isNull
This commit is contained in:
parent
c81368f617
commit
e75123602f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export const userByIdCache = new Cache<User>(
|
|||
);
|
||||
export const localUserByNativeTokenCache = new Cache<ILocalUser>(
|
||||
Infinity,
|
||||
async (token) => await Users.findOneBy({ token, host: IsNull(), isDeleted: isNull() }) as ILocalUser | null ?? undefined,
|
||||
async (token) => await Users.findOneBy({ token, host: IsNull(), isDeleted: IsNull() }) as ILocalUser | null ?? undefined,
|
||||
);
|
||||
export const uriPersonCache = new Cache<User>(
|
||||
Infinity,
|
||||
|
|
Loading…
Reference in a new issue