Skip to content

Commit

Permalink
Fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciaahuang committed Mar 4, 2024
1 parent fe3822c commit 531154b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/src/dao/MembersDao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default class MembersDao extends BaseDao<IdolMember, IdolMember> {
/**
* Gets all teams based on the subteam and formersubteam(s) each member is on, since teams do not have
* a collection in the database (teams are aggregated data from the members collection).
* @returns A promise that resolves to an array of all Team objects.
* @returns A promise that resolves to an array of Team objects.
*/
static async getAllTeams(): Promise<Team[]> {
const allMembers = await MembersDao.getAllMembers(false);
Expand Down Expand Up @@ -132,8 +132,8 @@ export default class MembersDao extends BaseDao<IdolMember, IdolMember> {

/**
* Gets a specific team by searching through each IDOL member and saving each member of the team.
* @param id The name of the team
* @returns A promise that resolves to the Team object with the specified name.
* @param id - The name of the team
* @returns A promise that resolves to the Team object with the specified name, or null if the team has no members.
*/
static async getTeam(id: string): Promise<Team | null> {
const allMembers = await MembersDao.getAllMembers(false);
Expand Down

0 comments on commit 531154b

Please sign in to comment.