bodyparser icon indicating copy to clipboard operation
bodyparser copied to clipboard

Fix return value of parser, fix eslint no-return-await

Open sunboyy opened this issue 5 years ago • 0 comments

I found a problem that when bodyParser middleware is used, the return value from following handlers cannot pass through it. So I fix bodyParser function to return the value from next() function.

I also fix no-return-await ESLint warning because the disable markers annoy me.

sunboyy avatar Oct 13 '20 16:10 sunboyy