Skip to content

Commit

Permalink
Fixed EventBus. (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
Utar94 authored Dec 24, 2024
1 parent 11655c8 commit ebfa600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Logitar.Identity.Infrastructure/EventBus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Logitar.Identity.Infrastructure;

internal class EventBus : IEventBus
public class EventBus : IEventBus
{
private readonly IMediator _mediator;

Expand All @@ -13,7 +13,7 @@ public EventBus(IMediator mediator)
_mediator = mediator;
}

public async Task PublishAsync(IEvent @event, CancellationToken cancellationToken)
public virtual async Task PublishAsync(IEvent @event, CancellationToken cancellationToken)
{
await _mediator.Publish(@event, cancellationToken);
}
Expand Down

0 comments on commit ebfa600

Please sign in to comment.