Follow redirects when posting to own profile (fixes #178)

This commit is contained in:
Alex Corn 2018-05-18 17:32:33 -04:00
parent 4441d6f6e0
commit 3921ce17d0

View File

@ -464,6 +464,7 @@ SteamCommunity.prototype._myProfile = function(endpoint, form, callback) {
if (form) {
options.method = "POST";
options.form = form;
options.followAllRedirects = true;
} else if (!options.method) {
options.method = "GET";
}