Skip to content

Commit

Permalink
Update ActorConsolidationAuditLogRepository.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
FirestarJes committed Dec 17, 2024
1 parent a03300a commit 96fc60f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ public Task AuditAsync(
Timestamp = DateTimeOffset.UtcNow,
ChangedByUserId = auditIdentity.Value,
Field = (int)Map(change),
NewValue = actorConsolidation.ActorToId.ToString(),
OldValue = actorConsolidation.ActorFromId.ToString()
NewValue = $"{{\"ActorId\": \"{actorConsolidation.ActorToId}\",\"ConsolidationDate\": \"{actorConsolidation.ConsolidateAt}\"}}",
OldValue = $"{{\"ActorId\": \"{actorConsolidation.ActorFromId}\",\"ConsolidationDate\": \"{actorConsolidation.ConsolidateAt}\"}}"
};

_context.ActorConsolidationAuditLogEntries.Add(entity);
Expand Down

0 comments on commit 96fc60f

Please sign in to comment.