Skip to content

Commit

Permalink
Merge pull request #94 from canro91/fix-logging
Browse files Browse the repository at this point in the history
Use the right type inside ILogger references
  • Loading branch information
ardalis authored Oct 31, 2024
2 parents 9626219 + 8f4998a commit 0de1dea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ namespace FrontDesk.Api.MessageHandlers;
/// </summary>
public class ClinicManagementClientConsumer : IConsumer<ClientUpdatedIntegrationEvent>
{
private readonly ILogger<ClinicManagementDoctorConsumer> _logger;
private readonly ILogger<ClinicManagementClientConsumer> _logger;
private readonly IMediator _mediator;
private readonly IHubContext<ScheduleHub> _scheduleHub;

public ClinicManagementClientConsumer(ILogger<ClinicManagementDoctorConsumer> logger, IMediator mediator,
public ClinicManagementClientConsumer(ILogger<ClinicManagementClientConsumer> logger, IMediator mediator,
IHubContext<ScheduleHub> scheduleHub)
{
_logger = logger;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Threading.Tasks;
using System.Threading.Tasks;
using FrontDesk.Api.Hubs;
using FrontDesk.Core.Handlers;
using MassTransit;
Expand All @@ -11,11 +11,11 @@ namespace FrontDesk.Api.MessageHandlers;

public class VetClinicPublicConsumer : IConsumer<AppointmentConfirmLinkClickedIntegrationEvent>
{
private readonly ILogger<ClinicManagementDoctorConsumer> _logger;
private readonly ILogger<VetClinicPublicConsumer> _logger;
private readonly IMediator _mediator;
private readonly IHubContext<ScheduleHub> _scheduleHub;

public VetClinicPublicConsumer(ILogger<ClinicManagementDoctorConsumer> logger, IMediator mediator,
public VetClinicPublicConsumer(ILogger<VetClinicPublicConsumer> logger, IMediator mediator,
IHubContext<ScheduleHub> scheduleHub)
{
_logger = logger;
Expand Down

0 comments on commit 0de1dea

Please sign in to comment.