From 100c15699c5c89cec245319dc1b70ee708a64cef Mon Sep 17 00:00:00 2001 From: Dan Spiteri Date: Sun, 14 Apr 2019 21:50:26 +0200 Subject: [PATCH] Fix TokenSwapAuth html response actually returning text/plain instead of html (#335) --- 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 73e7b0d6..c66e6b8a 100644 --- a/SpotifyAPI.Web.Auth/TokenSwapAuth.cs +++ b/SpotifyAPI.Web.Auth/TokenSwapAuth.cs @@ -211,7 +211,7 @@ namespace SpotifyAPI.Web.Auth Code = code, Error = error })); - return this.StringResponseAsync(((TokenSwapAuth)auth).HtmlResponse); + return this.HtmlResponseAsync(((TokenSwapAuth)auth).HtmlResponse); } } }