refactor: team invitation module in pseudo fp-ts (#3175)

This commit is contained in:
Mir Arif Hasan
2023-07-13 12:28:03 +06:00
committed by GitHub
parent 6bc748a267
commit 525ba77739
10 changed files with 299 additions and 452 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);
}
}