Skip to content

Commit

Permalink
Fix failing HH_ManageHH_Test.testNewHHObject()
Browse files Browse the repository at this point in the history
  • Loading branch information
npsp-reedestockton committed Nov 10, 2023
1 parent 917b6a9 commit 636dc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/main/default/classes/HH_ManageHH_CTRL.cls
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public with sharing class HH_ManageHH_CTRL {
hhId = hh.Id;

if (contactId != null) {
if (!UTIL_Permissions.canUpdate('npo02__Household__c','npo02__Household__c', false)) {
if (!UTIL_Permissions.canUpdate('Contact','npo02__Household__c', false)) {
throw new UTIL_Permissions.InsufficientPermissionException(System.Label.commonAccessErrorMessage);
}
Contact con = new Contact(Id = contactId, npo02__Household__c = hhId);
Expand Down

0 comments on commit 636dc39

Please sign in to comment.