Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek committed Sep 23, 2024
1 parent 9a473c1 commit 4e4bbf2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ public async Task<IActionResult> EditPost(string id, string roleDescription, boo

await _roleManager.UpdateAsync(role);

// After updating the document manager, update the tracker.
// After updating the document manager, update the role tracker.
if (roleAccessChanged)
{
if (role.HasFullAccess)
if (hasFullAccess)
{
await _roleTracker.AddAsync(role);
}
Expand Down

0 comments on commit 4e4bbf2

Please sign in to comment.