mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +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])
|
filters[key] = utils.toNative(req.query[key])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(filters)
|
|
||||||
console.log()
|
|
||||||
// Filter
|
// Filter
|
||||||
if (_(filters).isEmpty()) {
|
if (_(filters).isEmpty()) {
|
||||||
array = db(req.params.resource).value()
|
array = db(req.params.resource).value()
|
||||||
|
@ -44,7 +44,6 @@ function createId (coll) {
|
|||||||
// Example: a comment that references a post that doesn't exist
|
// Example: a comment that references a post that doesn't exist
|
||||||
function getRemovable (db) {
|
function getRemovable (db) {
|
||||||
var removable = []
|
var removable = []
|
||||||
console.log(db)
|
|
||||||
_(db).each(function (coll, collName) {
|
_(db).each(function (coll, collName) {
|
||||||
_(coll).each(function (doc) {
|
_(coll).each(function (doc) {
|
||||||
_(doc).each(function (value, key) {
|
_(doc).each(function (value, key) {
|
||||||
|
Reference in New Issue
Block a user