From 531154be000e3e55ddca847e3b6e396d57599125 Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Mon, 4 Mar 2024 14:48:21 -0500 Subject: [PATCH] Fix wording --- backend/src/dao/MembersDao.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/dao/MembersDao.ts b/backend/src/dao/MembersDao.ts index 83e95edff..adb444616 100644 --- a/backend/src/dao/MembersDao.ts +++ b/backend/src/dao/MembersDao.ts @@ -99,7 +99,7 @@ export default class MembersDao extends BaseDao { /** * 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 { const allMembers = await MembersDao.getAllMembers(false); @@ -132,8 +132,8 @@ export default class MembersDao extends BaseDao { /** * 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 { const allMembers = await MembersDao.getAllMembers(false);