mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix typo
This commit is contained in:
parent
a116833659
commit
120fe19dab
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ export const isSystemRequest = (req: express.Request): boolean => {
|
|||
|
||||
try {
|
||||
const claims = jwt.verify(token, env.server.jwtSecret) as Claims
|
||||
return !claims.system
|
||||
return !!claims.system
|
||||
} catch (e) {
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue