mikenicholson / passport-jwt

Passport authentication using JSON Web Tokens
MIT License
1.97k stars 215 forks source link

Updating Verify Jwt Token Variable Scoped #184

Closed MrSlimCoder closed 5 years ago

mikenicholson commented 5 years ago

This PR is a minor change that is inconsistent with the rest of the codebase. While it may be better a slightly better practice to use const in this case, I will update the codebase wholesale in a single commit rather than merge individual PRs that result in inconsistent coding styles.

Additionally, i believe the title is inaccurate since this is affecting the mutability of the required module and not the scope.