luin / express-promise

❤️ Middleware for easy rendering of async Query results.
MIT License
316 stars 19 forks source link

express deprecated res.send(status, body): Use res.status(status).send(body) instead #13

Closed pgrm closed 9 years ago

pgrm commented 9 years ago

I've started getting the following warning:

express deprecated res.send(status, body): Use res.status(status).send(body) instead node_modules\express-promise\lib\express_promise.js:191:15

it's not really an error (so far) just for the future it should be change probably?

luin commented 9 years ago

Fixed in v0.5.0. Thank you for pointing it out!