Skip to content

Commit

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

Signed-off-by: Usman Saleem <[email protected]>
  • Loading branch information
usmansaleem authored Mar 14, 2024
1 parent 39a356f commit 3db0756
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 3db0756

Please sign in to comment.