Skip to content

Commit

Permalink
Merge pull request #3963 from dseurotech/fix-rolePermissionCaching
Browse files Browse the repository at this point in the history
:fix: was caching the wrong list
  • Loading branch information
Coduz authored Feb 9, 2024
2 parents 0828ec9 + 409c6b3 commit 6b580c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public RolePermissionListResult findByRoleId(TxContext tx, KapuaId scopeId, Kapu
}
final RolePermissionListResult fromWrapped = wrapped.findByRoleId(tx, scopeId, roleId);

entityCache.putList(scopeId, roleId, listResult);
entityCache.putList(scopeId, roleId, fromWrapped);
return fromWrapped;
}

Expand Down

0 comments on commit 6b580c5

Please sign in to comment.