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) {
var options = {};
if (endpoint.endpoint) {
options = endpoint;
options.uri = "https://steamcommunity.com" + url + "/" + endpoint.endpoint;
options.method = "GET";
}
var options = endpoint.endpoint ? endpoint : {};
options.uri = "https://steamcommunity.com" + url + "/" + (endpoint.endpoint || endpoint);
options.method = "GET";
if (form) {
options.method = "POST";

View File

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