mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Fix tests.
This commit is contained in:
@@ -339,6 +339,7 @@ module.exports = class UsersService {
|
||||
if (err.message.match('Username')) {
|
||||
return reject(errors.ErrUsernameTaken);
|
||||
}
|
||||
console.log('DEBUG FUCKING ERROR', err);
|
||||
return reject(errors.ErrEmailTaken);
|
||||
}
|
||||
return reject(err);
|
||||
|
||||
Reference in New Issue
Block a user