koajs / bodyparser

Koa body parsing middleware
MIT License
1.3k stars 116 forks source link

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

Closed sunboyy closed 1 year ago

sunboyy commented 3 years ago

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.

3imed-jaberi commented 1 year ago

Fixed through this PR