We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
I could be wrong but i think you need to either remove the bang in front of req.headers['x-auth'] or swap next('route') with next().
req.headers['x-auth']
next('route')
next()