mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 04:32:24 +08:00
Remove console.log
This commit is contained in:
@ -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()
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user