MCPcopy Create free account
hub / github.com/RealDevSquad/website-backend / fetchAllUsers

Function fetchAllUsers

models/users.js:767–772  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

765 });
766
767 return filteredUsers.filter((user) => !user.roles?.archived);
768 }
769
770 return [];
771};
772
773const getUsersWithOnboardingStateInRange = async (filteredUserDocs, stateItems, time) => {
774 const usersInRange = [];
775 const range = Number(time.split("d")[0]);

Callers 4

markUnverifiedFunction · 0.85
updateDiscordNicknamesFunction · 0.85
setInDiscordFalseScriptFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected