Browse Source

refactor: add missing return

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5572/head
Pranav C 2 years ago
parent
commit
5bcf67e8b5
  1. 2
      packages/nocodb-nest/src/strategies/authtoken.strategy/authtoken.strategy.ts

2
packages/nocodb-nest/src/strategies/authtoken.strategy/authtoken.strategy.ts

@ -39,7 +39,7 @@ export class AuthTokenStrategy extends PassportStrategy(Strategy, 'authtoken') {
}
return callback(null, user);
} catch (error) {
callback(error);
return callback(error);
}
}
}

Loading…
Cancel
Save