mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 23:46:30 +02:00
[API] Improve: Better error message
This commit is contained in:
@@ -68,7 +68,7 @@ function authenticate(connection: websocket.connection, token: string): Promise<
|
||||
});
|
||||
|
||||
if (accessToken == null) {
|
||||
return reject('invalid token');
|
||||
return reject('invalid signature');
|
||||
}
|
||||
|
||||
// Fetch user
|
||||
|
||||
Reference in New Issue
Block a user