Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Commit

Permalink
Update for cookie API changes in request
Browse files Browse the repository at this point in the history
  • Loading branch information
seishun committed Oct 27, 2014
1 parent dcdd01c commit 293001c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ SteamTrade.prototype._send = function(action, data, callback) {
};

SteamTrade.prototype.setCookie = function(cookie) {
this._j.setCookieSync(request.cookie(cookie), 'http://steamcommunity.com');
this._j.setCookie(request.cookie(cookie), 'http://steamcommunity.com');
};

SteamTrade.prototype.open = function(steamID, callback) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "steam-trade",
"version": "0.2.3",
"dependencies": {
"request": ">=2.43.0"
"request": ">=2.45.0"
}
}

0 comments on commit 293001c

Please sign in to comment.