mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 07:46:15 +08:00
Merge branch 'master' of https://github.com/Miodec/monkeytype
This commit is contained in:
commit
a9e16d94e4
|
@ -23,7 +23,7 @@ module.exports = {
|
|||
throw new MonkeyError(
|
||||
401,
|
||||
"Unauthorized",
|
||||
`endpoint: ${req.baseUrl} no authrizaion header found`
|
||||
`endpoint: ${req.baseUrl} no authorization header found`
|
||||
);
|
||||
const token = authorization.split(" ");
|
||||
if (token[0].trim() !== "Bearer")
|
||||
|
|
Loading…
Reference in a new issue