remove log

This commit is contained in:
Riley Davis
2016-11-03 16:36:33 -06:00
parent 7facdf0840
commit de405492b9
-1
View File
@@ -27,7 +27,6 @@ SettingSchema.statics.getSettings = function () {
*/
SettingSchema.statics.updateSettings = function (setting) {
// there should only ever be one record unless something has gone wrong.
console.log('new setting', setting);
return this.findOneAndUpdate({id: '1'}, {$set: setting}, {new: true});
};