Browse Source

reworded comment

pull/912/head
Stephen Hess 8 years ago
parent
commit
aac1780db7
  1. 2
      controller/predicates/is_request_sources_only_whosonfirst.js

2
controller/predicates/is_request_sources_only_whosonfirst.js

@ -1,6 +1,6 @@
const _ = require('lodash'); const _ = require('lodash');
// returns true IFF clean.sources only contains 'whosonfirst' // returns true IFF 'whosonfirst' is the only requested source
module.exports = (req, res) => ( module.exports = (req, res) => (
_.isEqual( _.isEqual(
_.get(req, 'clean.sources', []), _.get(req, 'clean.sources', []),

Loading…
Cancel
Save