strongloop / loopback-component-oauth2

oAuth 2.0 server for LoopBack
http://www.strongloop.com
Other
62 stars 63 forks source link

Fix deprecation warnings. #41

Closed jpickwell closed 8 years ago

jpickwell commented 8 years ago

LoopBack deprecated urlencoded and json, and suggests using body-parser (https://github.com/strongloop/loopback/blob/v2.31.0/lib/express-middleware.js#L46-L51). Since LoopBack was already using body-parser for these functions, this is a simple 1-1 replacement.

slnode commented 8 years ago

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

slnode commented 8 years ago

Can one of the admins verify this patch?

bajtos commented 8 years ago

@slnode ok to test

bajtos commented 8 years ago

Landed, thank you for the contribution!

jpickwell commented 8 years ago

No problem. And if I have further contributions, I'll remember not to bump the version.