Skip to content

Commit

Permalink
fix for issue heroku#2
Browse files Browse the repository at this point in the history
the signature of the callback used by the get method was changed to
support an err parameter. this wasn't reflected in the call to me()
  • Loading branch information
machunter committed Jul 10, 2012
1 parent 2b51697 commit dd505a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ var FaceplateSession = function(plate, signed_request) {

this.me = function(cb) {
if (self.token) {
self.get('/me', function(me) {
self.get('/me', function(err, me) {
cb(me);
});
} else {
Expand Down

0 comments on commit dd505a9

Please sign in to comment.