misc: added pagination and moved to admin route

This commit is contained in:
Sheen Capadngan
2024-07-09 00:34:07 +08:00
parent f3a8fda254
commit c1b242db67
14 changed files with 276 additions and 177 deletions
+1 -6
View File
@@ -295,10 +295,6 @@ export const userServiceFactory = ({
return updatedOrgMembership.projectFavorites;
};
const listUsers = async () => {
return userDAL.find({});
};
return {
sendEmailVerificationCode,
verifyEmailVerificationCode,
@@ -312,7 +308,6 @@ export const userServiceFactory = ({
unlockUser,
getUserPrivateKey,
getUserProjectFavorites,
updateUserProjectFavorites,
listUsers
updateUserProjectFavorites
};
};