diff --git a/controller/predicates/is_request_sources_only_whosonfirst.js b/controller/predicates/is_request_sources_only_whosonfirst.js index 58644b27..c3071ffb 100644 --- a/controller/predicates/is_request_sources_only_whosonfirst.js +++ b/controller/predicates/is_request_sources_only_whosonfirst.js @@ -1,6 +1,6 @@ const _ = require('lodash'); -// returns true IFF clean.sources only contains 'whosonfirst' +// returns true IFF 'whosonfirst' is the only requested source module.exports = (req, res) => ( _.isEqual( _.get(req, 'clean.sources', []),