diff --git a/src/router.js b/src/router.js index 70c409b..293497a 100644 --- a/src/router.js +++ b/src/router.js @@ -101,8 +101,7 @@ module.exports = function (source) { filters[key] = utils.toNative(req.query[key]) } } - console.log(filters) - console.log() + // Filter if (_(filters).isEmpty()) { array = db(req.params.resource).value() diff --git a/src/utils.js b/src/utils.js index 5021962..34afdc4 100644 --- a/src/utils.js +++ b/src/utils.js @@ -44,7 +44,6 @@ function createId (coll) { // Example: a comment that references a post that doesn't exist function getRemovable (db) { var removable = [] - console.log(db) _(db).each(function (coll, collName) { _(coll).each(function (doc) { _(doc).each(function (value, key) {