Skip to content

Commit

Permalink
updated magento api to actually work!
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarshall committed Mar 21, 2014
1 parent e5a1222 commit a800c18
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 a800c18

Please sign in to comment.