Skip to content

Commit

Permalink
refactor: move back to DateTime.UtcNow in terminated contract event
Browse files Browse the repository at this point in the history
  • Loading branch information
meaboutsoftware committed Apr 2, 2024
1 parent 16f2bb8 commit 8d7ca81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public sealed record BindingContractTerminatedEvent(
DateTime OccuredAt) : IDomainEvent
{
internal static BindingContractTerminatedEvent Raise(DateTimeOffset terminatedAt)
=> new(Guid.NewGuid(), terminatedAt, terminatedAt.DateTime);
=> new(Guid.NewGuid(), terminatedAt, DateTime.UtcNow);
}

0 comments on commit 8d7ca81

Please sign in to comment.