add remaining methods to service

This commit is contained in:
Alex Holliday committed 2025-07-23 12:09:23 -07:00
1 parent a08ded4093
commit 6e321afa72
5 files changed
+107 -107

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ const deleteAllOtherUsers = async () => {
}
};
const getAllUsers = async (req, res) => {
const getAllUsers = async () => {
try {
const users = await UserModel.find().select("-password").select("-profileImage");
return users;