diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-09-21 23:12:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-21 23:12:38 +0200 |
| commit | 12a54c070e1842d1f46ac492939dee7e7be888aa (patch) | |
| tree | d2916222bda1fb9de6a74627dda542aa8bffaa4a | |
| parent | 8fec51097133303083d5690f290ec12ef930e36b (diff) | |
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
| -rw-r--r-- | MediaBrowser.Providers/Manager/ItemImageProvider.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Providers/Manager/ItemImageProvider.cs b/MediaBrowser.Providers/Manager/ItemImageProvider.cs index 4349e8296..81529e984 100644 --- a/MediaBrowser.Providers/Manager/ItemImageProvider.cs +++ b/MediaBrowser.Providers/Manager/ItemImageProvider.cs @@ -487,7 +487,7 @@ namespace MediaBrowser.Providers.Manager { using var response = await provider.GetImageResponse(url, cancellationToken).ConfigureAwait(false); - // Sometimes providers send back bad url's. Just move to the next image + // Sometimes providers send back bad urls. Just move to the next image if (response.StatusCode == HttpStatusCode.NotFound || response.StatusCode == HttpStatusCode.Forbidden) { _logger.LogDebug("{Url} returned {StatusCode}, ignoring", url, response.StatusCode); @@ -594,7 +594,7 @@ namespace MediaBrowser.Providers.Manager { using var response = await provider.GetImageResponse(url, cancellationToken).ConfigureAwait(false); - // Sometimes providers send back bad url's. Just move to the next image + // Sometimes providers send back bad urls. Just move to the next image if (response.StatusCode == HttpStatusCode.NotFound || response.StatusCode == HttpStatusCode.Forbidden) { _logger.LogDebug("{Url} returned {StatusCode}, ignoring", url, response.StatusCode); |
