refactor: team invitation module

This commit is contained in:
Mir Arif Hasan
2023-07-07 12:08:39 +06:00
committed by Andrew Bastin
parent 6bc748a267
commit 54bef30cf8
9 changed files with 235 additions and 416 deletions

View File

@@ -12,6 +12,6 @@ export class TeamTeamInviteExtResolver {
complexity: 10,
})
teamInvitations(@Parent() team: Team): Promise<TeamInvitation[]> {
return this.teamInviteService.getAllInvitationsInTeam(team)();
return this.teamInviteService.getTeamInvitations(team.id);
}
}