Browse Source

Merge pull request #10761 from abpframework/maliming/PublishToEventBusAsync

Fix PublishToEventBusAsync problem.
pull/10764/head
liangshiwei 4 years ago
committed by GitHub
parent
commit
4f40bfd0f3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/src/Volo.Abp.EventBus.Azure/Volo/Abp/EventBus/Azure/AzureDistributedEventBus.cs

2
framework/src/Volo.Abp.EventBus.Azure/Volo/Abp/EventBus/Azure/AzureDistributedEventBus.cs

@ -180,7 +180,7 @@ namespace Volo.Abp.EventBus.Azure
protected override async Task PublishToEventBusAsync(Type eventType, object eventData)
{
await PublishAsync(eventType, eventData);
await PublishAsync(EventNameAttribute.GetNameOrDefault(eventType), eventData);
}
protected override void AddToUnitOfWork(IUnitOfWork unitOfWork, UnitOfWorkEventRecord eventRecord)

Loading…
Cancel
Save