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 9256bd4 commit 807ea67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ public Task AuditAsync(
Timestamp = DateTimeOffset.UtcNow,
ChangedByUserId = auditIdentity.Value,
Field = (int)Map(change),
NewValue = JsonSerializer.Serialize(new { actorConsolidation.ActorToId, actorConsolidation.ConsolidateAt }),
OldValue = JsonSerializer.Serialize(new { actorConsolidation.ActorFromId, actorConsolidation.ConsolidateAt }),
NewValue = JsonSerializer.Serialize(new { ActorId = actorConsolidation.ActorToId, actorConsolidation.ConsolidateAt }),
OldValue = JsonSerializer.Serialize(new { ActorId = actorConsolidation.ActorFromId, actorConsolidation.ConsolidateAt }),
};

_context.ActorConsolidationAuditLogEntries.Add(entity);
Expand Down

0 comments on commit 807ea67

Please sign in to comment.