Fix erroneous request header for PTC login
Fix erroneous request header for PTC login
diff --git a/PokemonGo/RocketAPI/Login/PtcLogin.cs b/PokemonGo/RocketAPI/Login/PtcLogin.cs
index b7e3a73..c05bcc7 100644
--- a/PokemonGo/RocketAPI/Login/PtcLogin.cs
+++ b/PokemonGo/RocketAPI/Login/PtcLogin.cs
@@ -52,7 +52,7 @@ namespace PokemonGo.RocketAPI.Login
"https://www.nianticlabs.com/pokemongo/error"),
new KeyValuePair<string, string>("client_secret",
"w8ScCUXJQc6kXKw8FiOhd8Fixzht18Dq3PEVkUCP5ZPxtgyWsbTvWHFLm2wNY0JR"),
- new KeyValuePair<string, string>("grant_type", "grant_type"),
+ new KeyValuePair<string, string>("grant_type", "refresh_token"),
new KeyValuePair<string, string>("code", ticketId),
}));
You may download the files in Public Git.