Skip to content

Commit

Permalink
fix: remove null check
Browse files Browse the repository at this point in the history
  • Loading branch information
ClayChipps committed Apr 3, 2024
1 parent c72db7b commit c06bde8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,7 @@ public virtual class fflib_SObjectUnitOfWork

public void resolve()
{
if (this.Record.get(this.RelatedToField) == null){
this.Record.put( this.RelatedToField, this.RelatedTo.Id);
}
this.Record.put( this.RelatedToField, this.RelatedTo.Id);
}
}

Expand Down

0 comments on commit c06bde8

Please sign in to comment.