I am trying to pass a request object from my routes to a controller which processes the uploads,
here is the route -
app.post(\'/upload/notes\',auth
You need to consume the file stream somehow. For testing purposes you can ignore the data by adding file.resume(); inside the file event handler.
file
file.resume();