Removed community user

This commit is contained in:
hannathkadher
2024-10-29 13:19:47 +04:00
parent 9aecb3c3bc
commit 84bcf098d3
4 changed files with 9 additions and 33 deletions

View File

@ -33,10 +33,7 @@ export class CommunityPermissionGuard implements CanActivate {
throw new BadRequestException('communityUuid is required');
}
await this.permissionService.checkUserPermission(
communityUuid,
user.uuid,
);
await this.permissionService.checkUserPermission(communityUuid);
return true;
} catch (error) {