mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Disable eslint for the always-true if-condition
See: https://github.com/Human-Connection/Nitro-Backend/issues/41
This commit is contained in:
parent
f00dbb67df
commit
2ace3e5ce8
@ -20,7 +20,10 @@ export default () => {
|
||||
(JWTPayload, next) => {
|
||||
// usually this would be a database call:
|
||||
// var user = users[_.findIndex(users, {id: JWTPayload.id})]
|
||||
// TODO: fix https://github.com/Human-Connection/Nitro-Backend/issues/41
|
||||
/* eslint-disable */
|
||||
if (true) {
|
||||
/* eslint-enable */
|
||||
next(null, {})
|
||||
} else {
|
||||
next(null, false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user