mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
update tests
This commit is contained in:
@@ -123,7 +123,7 @@ router.post('/', wordlist.filter('body'), (req, res, next) => {
|
||||
if (charCountEnable && body.length > charCount) {
|
||||
return 'rejected';
|
||||
}
|
||||
return moderation === 'pre' ? 'premod' : '';
|
||||
return moderation === 'pre' ? 'premod' : null;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user