Skip to content

Commit

Permalink
refactor: use tierId instead of request.tierId
Browse files Browse the repository at this point in the history
  • Loading branch information
Dannyps committed Oct 17, 2023
1 parent 312a1b9 commit f8f7e58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public async Task Handle(DeleteTierQuotaDefinitionCommand request, CancellationT

_logger.LogTrace("Successfully deleted tier quota definition with id: '{tierQuotaDefinitionId}'.", request.TierQuotaDefinitionId);

_eventBus.Publish(new TierQuotaDefinitionDeletedIntegrationEvent(request.TierId, request.TierQuotaDefinitionId));
_eventBus.Publish(new TierQuotaDefinitionDeletedIntegrationEvent(tier.Id, request.TierQuotaDefinitionId));

_logger.LogTrace("Successfully published '{tierQuotaDefinitionDeletedIntegrationEvent}' with id: '{tierQuotaDefinitionId}' and tier id: '{tierId}'",
nameof(TierQuotaDefinitionDeletedIntegrationEvent), request.TierQuotaDefinitionId, request.TierId);
Expand Down

0 comments on commit f8f7e58

Please sign in to comment.