fixed stupid double request bug from bad merge

This commit is contained in:
TomPallister
2017-06-25 22:07:19 +01:00
parent b85474b393
commit 26e7621798
2 changed files with 1 additions and 5 deletions

View File

@ -36,8 +36,6 @@ namespace Ocelot.RateLimit.Middleware
if (!DownstreamRoute.ReRoute.EnableEndpointEndpointRateLimiting)
{
_logger.LogDebug($"EndpointRateLimiting is not enabled for {DownstreamRoute.ReRoute.DownstreamPathTemplate}");
await _next.Invoke(context);
await _next.Invoke(context);
return;
}
@ -48,8 +46,6 @@ namespace Ocelot.RateLimit.Middleware
if (IsWhitelisted(identity, options))
{
_logger.LogDebug($"{DownstreamRoute.ReRoute.DownstreamPathTemplate} is white listed from rate limiting");
await _next.Invoke(context);
await _next.Invoke(context);
return;
}