Skip to content
/ besu Public
forked from hyperledger/besu

Commit

Permalink
Refactor PluginPrivacyController (hyperledger#6725)
Browse files Browse the repository at this point in the history
fix parameter name to match overridden method

Signed-off-by: Usman Saleem <usman@usmans.info>
Signed-off-by: amsmota <antonio.mota@citi.com>
  • Loading branch information
usmansaleem authored and amsmota committed Apr 16, 2024
1 parent 39fadb5 commit 26d71e4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public String deletePrivacyGroup(final String privacyGroupId, final String priva
@Override
public Optional<PrivacyGroup> findPrivacyGroupByGroupId(
final String privacyGroupId, final String privacyUserId) {
verifyPrivacyGroupContainsPrivacyUserId(privacyUserId, privacyGroupId);
verifyPrivacyGroupContainsPrivacyUserId(privacyGroupId, privacyUserId);

return Optional.of(
new PrivacyGroup(
Expand Down Expand Up @@ -155,7 +155,7 @@ public void verifyPrivacyGroupContainsPrivacyUserId(

@Override
public void verifyPrivacyGroupContainsPrivacyUserId(
final String privacyUserId, final String privacyGroupId) {
verifyPrivacyGroupContainsPrivacyUserId(privacyUserId, privacyGroupId, Optional.empty());
final String privacyGroupId, final String privacyUserId) {
verifyPrivacyGroupContainsPrivacyUserId(privacyGroupId, privacyUserId, Optional.empty());
}
}

0 comments on commit 26d71e4

Please sign in to comment.