mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 00:47:06 +08:00
remove log
This commit is contained in:
@@ -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});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user