fix(debug): Removing debugging statements

This commit is contained in:
Chris Troutner
2021-08-07 12:44:14 -07:00
parent 5a9401aeb1
commit 4aa7cad552
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
// req.locals.jwtToken property.
const getTokenFromHeaders = (req, res, next) => {
try {
console.log('req.headers: ', req.headers)
// console.log('req.headers: ', req.headers)
// Only executes if the authorization header exists.
if (req.headers.authorization) {
@@ -23,7 +23,7 @@ const getTokenFromHeaders = (req, res, next) => {
if (authStr.split(' ')[0] === 'Token') {
const token = authStr.split(' ')[1]
console.log(`JWT found: ${token}`)
// console.log(`JWT found: ${token}`)
// Create the req.locals property if it does not yet exist.
if (!req.locals) {