Added missing service function

This commit is contained in:
Wyatt Johnson
2016-11-17 10:20:29 -07:00
parent 21f83c6f9a
commit 73c681b98f
+7
View File
@@ -443,3 +443,10 @@ UserService.availabilityCheck = (email) => {
});
};
/**
* Returns a count of the current users.
* @return {Promise}
*/
UserService.count = () => {
return UserModel.count();
};