Skip to content

Commit

Permalink
fix: Incorrect ToString for ActorNumber. (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
defectiveAi authored Dec 16, 2024
1 parent 2d4ae21 commit a03300a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,4 @@ _ when EicActorNumber.TryCreate(value, out var eic) => eic,
_ when GlnActorNumber.TryCreate(value, out var gln) => gln,
_ => new UnknownActorNumber(value)
};

public override string ToString()
{
return Value;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public Task<IntegrationEvent> CreateAsync(ActorConsolidationScheduled domainEven
ReasonIdentifier = "ActorConsolidationScheduled",
TargetActorId = domainEvent.Recipient.ToString(),
TargetPermissions = permission,
RelatedId = domainEvent.AffectedActor.ToString(),
RelatedId = domainEvent.AffectedActor.Value,
OccurredAt = now.ToTimestamp(),
ExpiresAt = domainEvent.ConsolidateAt.ToTimestamp(),
});
Expand Down

0 comments on commit a03300a

Please sign in to comment.