Disabled debug Mongoose
Updated modules fixed tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
var mongoose = require('mongoose');
|
||||
var mongoose = require('mongoose').set('debug', false)
|
||||
|
||||
var variantSchema = mongoose.Schema({
|
||||
productID: {
|
||||
@@ -37,4 +37,4 @@ module.exports.getVariantProductByID = function(id, callback){
|
||||
}
|
||||
module.exports.getAllVariants = function(callback){
|
||||
Variant.find(callback)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user