diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-07-27 00:16:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-27 00:16:09 -0400 |
| commit | d7287a05ad939b27b1107d748c623ebe8dfe6a25 (patch) | |
| tree | b0d9e4c41793f78ca6ef8fe18973b9b398970381 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | |
| parent | 749c9618724df90a28ab07b712d6ecb2999b3792 (diff) | |
| parent | 01e781035fc974c329f23892ea95bae66baa82f1 (diff) | |
Merge pull request #3684 from Bond-009/warn22
Fix warnings
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs index c3428ee62..0d4a789b5 100644 --- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -449,7 +449,7 @@ namespace Emby.Server.Implementations.HttpServer if (string.Equals(httpReq.Verb, "OPTIONS", StringComparison.OrdinalIgnoreCase)) { httpRes.StatusCode = 200; - foreach(var (key, value) in GetDefaultCorsHeaders(httpReq)) + foreach (var (key, value) in GetDefaultCorsHeaders(httpReq)) { httpRes.Headers.Add(key, value); } @@ -486,7 +486,7 @@ namespace Emby.Server.Implementations.HttpServer var handler = GetServiceHandler(httpReq); if (handler != null) { - await handler.ProcessRequestAsync(this, httpReq, httpRes, _logger, cancellationToken).ConfigureAwait(false); + await handler.ProcessRequestAsync(this, httpReq, httpRes, cancellationToken).ConfigureAwait(false); } else { |
