-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Home Page] - Create getTeamProjects Util #2798
Labels
Comments
This was referenced Sep 7, 2024
caiodasilva2005
changed the title
[Home Page] - Create getTeamProjects util
[Home Page] - Create getTeamProjects Util
Sep 7, 2024
chpy04
added a commit
that referenced
this issue
Sep 11, 2024
chpy04
added a commit
that referenced
this issue
Sep 11, 2024
caiodasilva2005
added a commit
that referenced
this issue
Sep 11, 2024
…te-getTeamProjects-Util #2798 Create util function to get team projects
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We need a way to retrieve all the projects assigned to a team. We want a util in the backend in teams.utils.ts that takes in a string
teamId
and returns all the projects assigned to the team.Acceptance Criteria
Proposed Solution
Take a look at how we query the backend with prisma. For this function, you have to query the Team model and return the projects field within the team.
Mocks
No response
The text was updated successfully, but these errors were encountered: