mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-16 20:22:23 +08:00
Fixed API key registration not working
This commit is contained in:
parent
81eb26b30d
commit
a24bb9d4ad
4
index.js
4
index.js
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user