lundi 9 mars 2015

replacement for req.param() that is depricated in Express 4

We're migrating from express 3 to express 4, and we noted that the following api is being depricated:


req.param(fieldName, defaultValue)


Is there a middleware that brings this api back, or should I hack my way to put it back in express/lib/request?


Aucun commentaire:

Enregistrer un commentaire