From d1f278d35be4dab4dd1b4decbf023afac738f1b5 Mon Sep 17 00:00:00 2001 From: Dan Spiteri Date: Sun, 7 Apr 2019 22:51:21 +0200 Subject: [PATCH] Fix TokenSwapAuth html response actually returning text/plain instead of html --- SpotifyAPI.Web.Auth/TokenSwapAuth.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpotifyAPI.Web.Auth/TokenSwapAuth.cs b/SpotifyAPI.Web.Auth/TokenSwapAuth.cs index 73e7b0d6e..c66e6b8ab 100644 --- a/SpotifyAPI.Web.Auth/TokenSwapAuth.cs +++ b/SpotifyAPI.Web.Auth/TokenSwapAuth.cs @@ -211,7 +211,7 @@ public Task GetAuth() Code = code, Error = error })); - return this.StringResponseAsync(((TokenSwapAuth)auth).HtmlResponse); + return this.HtmlResponseAsync(((TokenSwapAuth)auth).HtmlResponse); } } }