Skip to content

Commit

Permalink
Update audit entry for PAYE scheme add on Account create
Browse files Browse the repository at this point in the history
  • Loading branch information
cofaulco committed Jun 24, 2022
1 parent dc642da commit 94f2abb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ await _mediator.SendAsync(new CreateAuditCommand
PropertyUpdate.FromString("Ref", message.PayeReference),
PropertyUpdate.FromString("AccessToken", message.AccessToken),
PropertyUpdate.FromString("RefreshToken", message.RefreshToken),
PropertyUpdate.FromString("Name", message.EmployerRefName)
PropertyUpdate.FromString("Name", message.EmployerRefName),
PropertyUpdate.FromString("Aorn", message.Aorn)
},
RelatedEntities = new List<Entity> { new Entity { Id = returnValue.AccountId.ToString(), Type = "Account" } },
AffectedEntity = new Entity { Type = "Paye", Id = message.PayeReference }
Expand Down

0 comments on commit 94f2abb

Please sign in to comment.