feat: introducing get team info by id in admin module as a query (HBE-182) (#54)
* feat: introducing get team info by id in admin module as a query * chore: adding resolve field for admin * chore: remove nullable false * refactor: rename getTeamInfo to teamInfo * refactor: make myRole nullable
This commit is contained in:
@@ -61,6 +61,7 @@ export class TeamResolver {
|
||||
|
||||
@ResolveField(() => TeamMemberRole, {
|
||||
description: 'The role of the current user in the team',
|
||||
nullable: true,
|
||||
})
|
||||
@UseGuards(GqlAuthGuard)
|
||||
myRole(
|
||||
|
||||
Reference in New Issue
Block a user