Skip to content

Commit

Permalink
Fix teamup bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Nov 15, 2024
1 parent 74b604d commit 9fbd386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gameboard.Api/Features/Player/PlayerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public async Task<TeamInvitation> Invite([FromRoute] string id)
{
await AuthorizeAny
(
() => _permissionsService.IsActingUserAsync(id),
() => IsSelf(id),
() => _permissionsService.Can(PermissionKey.Teams_Enroll)
);

Expand Down

0 comments on commit 9fbd386

Please sign in to comment.