mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 23:46:30 +02:00
This commit is contained in:
@@ -62,10 +62,6 @@ function authenticate(connection: websocket.connection, token: string): Promise<
|
||||
const user = await User
|
||||
.findOne({
|
||||
token: token
|
||||
}, {
|
||||
fields: {
|
||||
_id: true
|
||||
}
|
||||
});
|
||||
|
||||
resolve(user);
|
||||
|
||||
Reference in New Issue
Block a user