mirror of
https://github.com/wassname/talk.git
synced 2026-07-29 11:28:24 +08:00
Cleaning up tests after merge.
This commit is contained in:
@@ -42,6 +42,7 @@ SettingSchema.statics.getSettings = function () {
|
||||
* @return {Promise} moderation the settings for how to moderate comments
|
||||
*/
|
||||
SettingSchema.statics.getModerationSetting = function () {
|
||||
console.log('Getting moderation setting');
|
||||
return this.findOne({id: '1'}).select('moderation');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user