mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 06:15:54 +02:00
Some bug fixes
This commit is contained in:
@@ -97,7 +97,7 @@ function authenticate(token: string): Promise<IUser> {
|
||||
const user: IUser = await User
|
||||
.findOne({
|
||||
host: null,
|
||||
'account.token': token
|
||||
'token': token
|
||||
});
|
||||
|
||||
resolve(user);
|
||||
|
||||
Reference in New Issue
Block a user