Compare commits

...

2 Commits

Author SHA1 Message Date
Alex Corn
645e03b89c 3.35.1 2018-04-01 23:36:04 -04:00
Alex Corn
aa302bc09e Fixed various profile url requests 2018-04-01 23:35:56 -04:00
2 changed files with 4 additions and 7 deletions

View File

@@ -458,12 +458,9 @@ SteamCommunity.prototype._myProfile = function(endpoint, form, callback) {
} }
function completeRequest(url) { function completeRequest(url) {
var options = {}; var options = endpoint.endpoint ? endpoint : {};
if (endpoint.endpoint) { options.uri = "https://steamcommunity.com" + url + "/" + (endpoint.endpoint || endpoint);
options = endpoint; options.method = "GET";
options.uri = "https://steamcommunity.com" + url + "/" + endpoint.endpoint;
options.method = "GET";
}
if (form) { if (form) {
options.method = "POST"; options.method = "POST";

View File

@@ -1,6 +1,6 @@
{ {
"name": "steamcommunity", "name": "steamcommunity",
"version": "3.35.0", "version": "3.35.1",
"description": "Provides an interface for logging into and interacting with the Steam Community website", "description": "Provides an interface for logging into and interacting with the Steam Community website",
"keywords": [ "keywords": [
"steam", "steam",