Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zekesonxx/node-yggdrasil
Browse files Browse the repository at this point in the history
  • Loading branch information
zekesonxx committed Nov 15, 2016
2 parents 0f88975 + 15747a2 commit d319b37
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,7 @@ var k = function Yggdrasil (con) {
r._call('validate', {
accessToken: token
}, function (err, data) {
if (err) {
cb(err);
} else {
cb();
}
cb(err);
});
};
/**
Expand All @@ -106,11 +102,7 @@ var k = function Yggdrasil (con) {
username: user,
password: pass
}, function (err, data) {
if (err) {
cb(err);
} else {
cb();
}
cb(err);
});
};

Expand Down

0 comments on commit d319b37

Please sign in to comment.