mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Adds tests
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ CommentSchema.statics.moderationQueue = function(moderationValue) {
|
||||
return comments;
|
||||
});
|
||||
default:
|
||||
throw new Error('Moderation setting not found.');
|
||||
return Error('Moderation setting not found.') ;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user