Skip to content

Commit b7eb376

Browse files
committed
#1183 added comment to service func
1 parent 551d71f commit b7eb376

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/backend/src/services/teams.services.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ export default class TeamsService {
168168
return teamTransformer(updateTeam);
169169
}
170170

171+
/**
172+
* Hard deletes the team with the given teamId
173+
* @param deleter the user submitting this request
174+
* @param teamId the id of the team to be deleted
175+
*/
171176
static async deleteTeam(deleter: User, teamId: string): Promise<void> {
172177
const team = await prisma.team.findUnique({ where: { teamId }, ...teamQueryArgs });
173178

0 commit comments

Comments
 (0)