You missed the name of the user file when you are creating the '/me' route, this supossed to be in user, also, if you are using a middleware you should explain to the rookies how to use this module, you are ecporting the middleware but didin't explain how to use it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You missed the name of the user file when you are creating the '/me' route, this supossed to be in user, also, if you are using a middleware you should explain to the rookies how to use this module, you are ecporting the middleware but didin't explain how to use it.