mirror of
https://github.com/wassname/talk.git
synced 2026-07-24 13:20:47 +08:00
Added missing service function
This commit is contained in:
@@ -443,3 +443,10 @@ UserService.availabilityCheck = (email) => {
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns a count of the current users.
|
||||
* @return {Promise}
|
||||
*/
|
||||
UserService.count = () => {
|
||||
return UserModel.count();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user