From cf27bf510a843642cf8083dc25c211ff1c356f06 Mon Sep 17 00:00:00 2001 From: Haacked Date: Fri, 16 Jan 2015 14:40:04 -0800 Subject: [PATCH] It's only a Type, not a Type Type --- Octokit/Http/HttpClientAdapter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Octokit/Http/HttpClientAdapter.cs b/Octokit/Http/HttpClientAdapter.cs index 1b513d3d..ec7ffd4b 100644 --- a/Octokit/Http/HttpClientAdapter.cs +++ b/Octokit/Http/HttpClientAdapter.cs @@ -74,7 +74,7 @@ namespace Octokit.Internal { if (content != null) { - contentType = GetContentMediaTypeType(responseMessage.Content); + contentType = GetContentMediaType(responseMessage.Content); // We added support for downloading images. Let's constrain this appropriately. if (contentType == null || !contentType.StartsWith("image/")) @@ -137,7 +137,7 @@ namespace Octokit.Internal return requestMessage; } - static string GetContentMediaTypeType(HttpContent httpContent) + static string GetContentMediaType(HttpContent httpContent) { if (httpContent.Headers != null && httpContent.Headers.ContentType != null) {