Skip to content

Commit

Permalink
Fix Incorrect type is used for contextual logger
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmairegger committed Jul 24, 2023
1 parent 4cd2e6c commit e2fe29f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ internal class UIApiRequestLimitingMidleware
{
private readonly RequestDelegate _next;
private readonly IOptions<Settings> _settings;
private readonly ILogger<UIApiEndpointMiddleware> _logger;
private readonly ILogger<UIApiRequestLimitingMidleware> _logger;
private readonly SemaphoreSlim _semaphore;

public UIApiRequestLimitingMidleware(RequestDelegate next, IOptions<Settings> settings, ILogger<UIApiEndpointMiddleware> logger)
public UIApiRequestLimitingMidleware(RequestDelegate next, IOptions<Settings> settings, ILogger<UIApiRequestLimitingMidleware> logger)
{
_next = Guard.ThrowIfNull(next);
_settings = Guard.ThrowIfNull(settings);
Expand Down

0 comments on commit e2fe29f

Please sign in to comment.