This commit is contained in:
@@ -27,7 +27,7 @@ class AuthorizeRequest
|
||||
{
|
||||
throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized.");
|
||||
}
|
||||
$customRole = $this->customRoleRepository->findBy([
|
||||
$customRole = $this->customRoleRepository->findOneBy([
|
||||
'name' => Role::LEAGUE_PRESIDENT->value,
|
||||
'user' => $userEntity,
|
||||
'entityId' => $leagueId
|
||||
|
||||
Reference in New Issue
Block a user