Skip to content

Commit

Permalink
Merge pull request #3 from MadisonReed/fixapi
Browse files Browse the repository at this point in the history
updated magento api to actually work!
  • Loading branch information
scottspork committed Mar 21, 2014
2 parents e5a1222 + a800c18 commit fc16c8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento",
"author": "Tim Marshall <[email protected]>",
"description": "Magento SOAP API wrapper for Node.js",
"version": "0.0.1",
"version": "0.0.2",
"main": "./src/magento",
"contributors": [
{
Expand Down
4 changes: 2 additions & 2 deletions src/magento.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ Magento.prototype.login = function(callback) {
callback(new MagentoError('An error occurred at login', err));
return;
}

this.sessionId = sessId;
self.sessionId = sessId;
callback();
});

Expand Down

0 comments on commit fc16c8f

Please sign in to comment.