Skip to content

Roles get team members api#202

Merged
JamesBirni merged 6 commits intomainfrom
roles-getTeamMembers-api
Mar 28, 2025
Merged

Roles get team members api#202
JamesBirni merged 6 commits intomainfrom
roles-getTeamMembers-api

Conversation

@taoTimTim
Copy link
Copy Markdown
Collaborator

Updated the API documentation to show that the role gets returned when getTeamMembers method is called for a specific team.

Changed the getTeamMembers method inside TeamService to return a boolean of whether they are a teamlead (true) or not (false). Created a new DTO that contains isTeamLead field, and added new ConvertToDTO method in TeamService.

Updated backend tests to use TeamMemberInTeamDTO instead of TeamMemberDTO.
Created DTO tests for the new DTO class TeamMemberInTeamDTO.

Updated API documentation to reflect the new field.

Resolves #193

@taoTimTim taoTimTim self-assigned this Mar 26, 2025
Copy link
Copy Markdown
Collaborator

@JamesBirni JamesBirni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to have fixed the issue with getTeamMembers

@JamesBirni JamesBirni merged commit 522c1ba into main Mar 28, 2025
1 check passed
@taoTimTim taoTimTim deleted the roles-getTeamMembers-api branch March 28, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return roles in getTeamMembers from teamApi

2 participants