Skip to content

Commit

Permalink
fix: status property name changed after merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-almeida-konkconsulting committed Jul 4, 2024
1 parent c5d454e commit 8c794f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public RelationshipStatusChangedDomainEventHandler(IMessagesRepository messagesR

public async Task Handle(RelationshipStatusChangedDomainEvent @event)
{
if (@event.Status != RelationshipStatus.ReadyForDeletion.ToString())
if (@event.NewStatus != RelationshipStatus.ReadyForDeletion.ToString())
return;

var anonymizedIdentityAddress = IdentityAddress.Create(Encoding.Unicode.GetBytes(DELETED_IDENTITY_STRING), _applicationOptions.DidDomainName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Backbone.Modules.Messages.Domain.DomainEvents.Incoming;
public class RelationshipStatusChangedDomainEvent : DomainEvent
{
public required string RelationshipId { get; set; }
public required string Status { get; set; }
public required string NewStatus { get; set; }
public required string Initiator { get; set; }
public required string Peer { get; set; }
}

0 comments on commit 8c794f5

Please sign in to comment.