Browse Source

whitespace

pull/248/head
Stephen Hess 9 years ago
parent
commit
d2dc26f69f
  1. 6
      sanitiser/_details.js

6
sanitiser/_details.js

@ -2,14 +2,14 @@ var isObject = require('is-object');
// validate inputs, convert types and apply defaults
function sanitize( req, default_value ){
var clean = req.clean || {};
var params= req.query;
if (default_value === undefined) {
default_value = true;
}
default_value = !!default_value;
// ensure the input params are a valid object
@ -24,7 +24,7 @@ function sanitize( req, default_value ){
}
req.clean = clean;
return {'error':false};
}

Loading…
Cancel
Save