MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / filterProjects

Function filterProjects

server/api/TeamRoute.js:17–19  ·  view source on GitHub ↗
(projects, teamRole)

Source from the content-addressed store, hash-verified

15};
16
17function filterProjects(projects, teamRole) {
18 return projects.filter((p) => _.indexOf(teamRole.projects, p.id) > -1);
19}
20
21module.exports = (app) => {
22 const teamController = new TeamController();

Callers 1

TeamRoute.jsFile · 0.85

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected