mirror of https://github.com/pelias/api.git
Stephen Hess
8 years ago
1 changed files with 1 additions and 0 deletions
@ -1,3 +1,4 @@ |
|||||||
const _ = require('lodash'); |
const _ = require('lodash'); |
||||||
|
|
||||||
|
// returns true IFF req.clean has a key with the supplied name
|
||||||
module.exports = (parameter) => (req, res) => (_.has(req, ['clean', parameter])); |
module.exports = (parameter) => (req, res) => (_.has(req, ['clean', parameter])); |
||||||
|
Loading…
Reference in new issue