Fixed API key registration not working

This commit is contained in:
Alexander Corn 2015-05-29 01:03:07 -04:00
parent 81eb26b30d
commit a24bb9d4ad

View File

@ -141,7 +141,9 @@ SteamCommunity.prototype.getWebApiKey = function(domain, callback) {
self._request.post('https://steamcommunity.com/dev/registerkey', {
"form": {
"domain": domain,
"agreeToTerms": 1
"agreeToTerms": "agreed",
"sessionid": self.getSessionID(),
"Submit": "Register"
}
}, function(err, response, body) {
if(err || response.statusCode >= 400) {