mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
refactor: fix type
This commit is contained in:
parent
c61f76d533
commit
5414944b21
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export async function resolveUser(username: string, host: string | null, option?
|
|||
});
|
||||
}
|
||||
|
||||
const user = await Users.findOne({ usernameLower, host }, option) as IRemoteUser;
|
||||
const user = await Users.findOne({ usernameLower, host }, option) as IRemoteUser | null;
|
||||
|
||||
const acctLower = `${usernameLower}@${host}`;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue